Interface GetMailDomainResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMailDomainResponse.Builder,GetMailDomainResponse>,SdkBuilder<GetMailDomainResponse.Builder,GetMailDomainResponse>,SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
- GetMailDomainResponse
public static interface GetMailDomainResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<GetMailDomainResponse.Builder,GetMailDomainResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMailDomainResponse.BuilderdkimVerificationStatus(String dkimVerificationStatus)Indicates the status of a DKIM verification.GetMailDomainResponse.BuilderdkimVerificationStatus(DnsRecordVerificationStatus dkimVerificationStatus)Indicates the status of a DKIM verification.GetMailDomainResponse.BuilderisDefault(Boolean isDefault)Specifies whether the domain is the default domain for your organization.GetMailDomainResponse.BuilderisTestDomain(Boolean isTestDomain)Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.GetMailDomainResponse.BuilderownershipVerificationStatus(String ownershipVerificationStatus)Indicates the status of the domain ownership verification.GetMailDomainResponse.BuilderownershipVerificationStatus(DnsRecordVerificationStatus ownershipVerificationStatus)Indicates the status of the domain ownership verification.GetMailDomainResponse.Builderrecords(Collection<DnsRecord> records)A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience.GetMailDomainResponse.Builderrecords(Consumer<DnsRecord.Builder>... records)A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience.GetMailDomainResponse.Builderrecords(DnsRecord... records)A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
records
GetMailDomainResponse.Builder records(Collection<DnsRecord> records)
A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
- Parameters:
records- A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
GetMailDomainResponse.Builder records(DnsRecord... records)
A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
- Parameters:
records- A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
records
GetMailDomainResponse.Builder records(Consumer<DnsRecord.Builder>... records)
A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
This is a convenience method that creates an instance of theDnsRecord.Builderavoiding the need to create one manually viaDnsRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#records(List.) - Parameters:
records- a consumer that will call methods onDnsRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#records(java.util.Collection)
-
isTestDomain
GetMailDomainResponse.Builder isTestDomain(Boolean isTestDomain)
Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.
- Parameters:
isTestDomain- Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDefault
GetMailDomainResponse.Builder isDefault(Boolean isDefault)
Specifies whether the domain is the default domain for your organization.
- Parameters:
isDefault- Specifies whether the domain is the default domain for your organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownershipVerificationStatus
GetMailDomainResponse.Builder ownershipVerificationStatus(String ownershipVerificationStatus)
Indicates the status of the domain ownership verification.
- Parameters:
ownershipVerificationStatus- Indicates the status of the domain ownership verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsRecordVerificationStatus,DnsRecordVerificationStatus
-
ownershipVerificationStatus
GetMailDomainResponse.Builder ownershipVerificationStatus(DnsRecordVerificationStatus ownershipVerificationStatus)
Indicates the status of the domain ownership verification.
- Parameters:
ownershipVerificationStatus- Indicates the status of the domain ownership verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsRecordVerificationStatus,DnsRecordVerificationStatus
-
dkimVerificationStatus
GetMailDomainResponse.Builder dkimVerificationStatus(String dkimVerificationStatus)
Indicates the status of a DKIM verification.
- Parameters:
dkimVerificationStatus- Indicates the status of a DKIM verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsRecordVerificationStatus,DnsRecordVerificationStatus
-
dkimVerificationStatus
GetMailDomainResponse.Builder dkimVerificationStatus(DnsRecordVerificationStatus dkimVerificationStatus)
Indicates the status of a DKIM verification.
- Parameters:
dkimVerificationStatus- Indicates the status of a DKIM verification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DnsRecordVerificationStatus,DnsRecordVerificationStatus
-
-