@Generated(value="software.amazon.awssdk:codegen") public final class FsxConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FsxConfiguration.Builder,FsxConfiguration>
Provides the configuration information to connect to Amazon FSx as your data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FsxConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FsxConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
A list of regular expression patterns to exclude certain files in your Amazon FSx file system.
|
List<DataSourceToIndexFieldMapping> |
fieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field
names to Amazon Kendra index field names. |
String |
fileSystemId()
The identifier of the Amazon FSx file system.
|
FsxFileSystemType |
fileSystemType()
The Amazon FSx file system type.
|
String |
fileSystemTypeAsString()
The Amazon FSx file system type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExclusionPatterns()
For responses, this returns true if the service returned a value for the ExclusionPatterns property.
|
boolean |
hasFieldMappings()
For responses, this returns true if the service returned a value for the FieldMappings property.
|
int |
hashCode() |
boolean |
hasInclusionPatterns()
For responses, this returns true if the service returned a value for the InclusionPatterns property.
|
List<String> |
inclusionPatterns()
A list of regular expression patterns to include certain files in your Amazon FSx file system.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect
to your Amazon FSx file system.
|
static Class<? extends FsxConfiguration.Builder> |
serializableBuilderClass() |
FsxConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DataSourceVpcConfiguration |
vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fileSystemId()
The identifier of the Amazon FSx file system.
You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide.
You can find your file system ID on the file system dashboard in the Amazon FSx console. For information on how to create a file system in Amazon FSx console, using Windows File Server as an example, see Amazon FSx Getting started guide.
public final FsxFileSystemType fileSystemType()
The Amazon FSx file system type. Windows is currently the only supported type.
If the service returns an enum value that is not available in the current SDK version, fileSystemType
will return FsxFileSystemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fileSystemTypeAsString().
FsxFileSystemTypepublic final String fileSystemTypeAsString()
The Amazon FSx file system type. Windows is currently the only supported type.
If the service returns an enum value that is not available in the current SDK version, fileSystemType
will return FsxFileSystemType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fileSystemTypeAsString().
FsxFileSystemTypepublic final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Amazon FSx. Your Amazon FSx instance must reside inside your VPC.
public final String secretArn()
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Amazon FSx file system. Windows is currently the only supported type. The secret must contain a JSON structure with the following keys:
username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.
password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.
username—The Active Directory user name, along with the Domain Name System (DNS) domain name. For example, user@corp.example.com. The Active Directory user account must have read and mounting access to the Amazon FSx file system for Windows.
password—The password of the Active Directory user account with read and mounting access to the Amazon FSx Windows file system.
public final boolean hasInclusionPatterns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> inclusionPatterns()
A list of regular expression patterns to include certain files in your Amazon FSx file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInclusionPatterns() method.
public final boolean hasExclusionPatterns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> exclusionPatterns()
A list of regular expression patterns to exclude certain files in your Amazon FSx file system. Files that match the patterns are excluded from the index. Files that don't match the patterns are included in the index. If a file matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file isn't included in the index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExclusionPatterns() method.
public final boolean hasFieldMappings()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<DataSourceToIndexFieldMapping> fieldMappings()
A list of DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes or field
names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before
you map to Amazon FSx fields. For more information, see Mapping data source fields. The Amazon
FSx data source field names must exist in your Amazon FSx custom metadata.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFieldMappings() method.
DataSourceToIndexFieldMapping objects that map Amazon FSx data source attributes
or field names to Amazon Kendra index field names. To create custom fields, use the
UpdateIndex API before you map to Amazon FSx fields. For more information, see Mapping data source fields.
The Amazon FSx data source field names must exist in your Amazon FSx custom metadata.public FsxConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FsxConfiguration.Builder,FsxConfiguration>public static FsxConfiguration.Builder builder()
public static Class<? extends FsxConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.