Class ImportFirewallDomainsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest
-
- software.amazon.awssdk.services.route53resolver.model.ImportFirewallDomainsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ImportFirewallDomainsRequest.Builder,ImportFirewallDomainsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ImportFirewallDomainsRequest extends Route53ResolverRequest implements ToCopyableBuilder<ImportFirewallDomainsRequest.Builder,ImportFirewallDomainsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportFirewallDomainsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportFirewallDomainsRequest.Builderbuilder()StringdomainFileUrl()The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirewallDomainListId()The ID of the domain list that you want to modify with the import operation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FirewallDomainImportOperationoperation()What you want DNS Firewall to do with the domains that are listed in the file.StringoperationAsString()What you want DNS Firewall to do with the domains that are listed in the file.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImportFirewallDomainsRequest.Builder>serializableBuilderClass()ImportFirewallDomainsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
firewallDomainListId
public final String firewallDomainListId()
The ID of the domain list that you want to modify with the import operation.
- Returns:
- The ID of the domain list that you want to modify with the import operation.
-
operation
public final FirewallDomainImportOperation operation()
What you want DNS Firewall to do with the domains that are listed in the file. This must be set to
REPLACE, which updates the domain list to exactly match the list in the file.If the service returns an enum value that is not available in the current SDK version,
operationwill returnFirewallDomainImportOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- What you want DNS Firewall to do with the domains that are listed in the file. This must be set to
REPLACE, which updates the domain list to exactly match the list in the file. - See Also:
FirewallDomainImportOperation
-
operationAsString
public final String operationAsString()
What you want DNS Firewall to do with the domains that are listed in the file. This must be set to
REPLACE, which updates the domain list to exactly match the list in the file.If the service returns an enum value that is not available in the current SDK version,
operationwill returnFirewallDomainImportOperation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoperationAsString().- Returns:
- What you want DNS Firewall to do with the domains that are listed in the file. This must be set to
REPLACE, which updates the domain list to exactly match the list in the file. - See Also:
FirewallDomainImportOperation
-
domainFileUrl
public final String domainFileUrl()
The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that contains the list of domains to import.
The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
- Returns:
- The fully qualified URL or URI of the file stored in Amazon Simple Storage Service (Amazon S3) that
contains the list of domains to import.
The file must be in an S3 bucket that's in the same Region as your DNS Firewall. The file must be a text file and must contain a single domain per line.
-
toBuilder
public ImportFirewallDomainsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportFirewallDomainsRequest.Builder,ImportFirewallDomainsRequest>- Specified by:
toBuilderin classRoute53ResolverRequest
-
builder
public static ImportFirewallDomainsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportFirewallDomainsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-