Interface CreateTargetDomainResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateTargetDomainResponse.Builder,,CreateTargetDomainResponse> SdkBuilder<CreateTargetDomainResponse.Builder,,CreateTargetDomainResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
CreateTargetDomainResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the target domain was created, in UTC format.domainName(String domainName) The domain name of the target domain.targetDomainId(String targetDomainId) The unique identifier of the created target domain.verificationDetails(Consumer<VerificationDetails.Builder> verificationDetails) The verification details for the target domain, including the verification token and instructions.verificationDetails(VerificationDetails verificationDetails) The verification details for the target domain, including the verification token and instructions.verificationStatus(String verificationStatus) The current verification status of the target domain.verificationStatus(TargetDomainStatus verificationStatus) The current verification status of the target domain.verificationStatusReason(String verificationStatusReason) The reason for the current target domain verification status.verifiedAt(Instant verifiedAt) The date and time the target domain was verified, in UTC format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
targetDomainId
The unique identifier of the created target domain.
- Parameters:
targetDomainId- The unique identifier of the created target domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
The domain name of the target domain.
- Parameters:
domainName- The domain name of the target domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationStatus
The current verification status of the target domain.
- Parameters:
verificationStatus- The current verification status of the target domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verificationStatus
The current verification status of the target domain.
- Parameters:
verificationStatus- The current verification status of the target domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verificationStatusReason
The reason for the current target domain verification status.
- Parameters:
verificationStatusReason- The reason for the current target domain verification status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationDetails
The verification details for the target domain, including the verification token and instructions.
- Parameters:
verificationDetails- The verification details for the target domain, including the verification token and instructions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verificationDetails
default CreateTargetDomainResponse.Builder verificationDetails(Consumer<VerificationDetails.Builder> verificationDetails) The verification details for the target domain, including the verification token and instructions.
This is a convenience method that creates an instance of theVerificationDetails.Builderavoiding the need to create one manually viaVerificationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toverificationDetails(VerificationDetails).- Parameters:
verificationDetails- a consumer that will call methods onVerificationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the target domain was created, in UTC format.
- Parameters:
createdAt- The date and time the target domain was created, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verifiedAt
The date and time the target domain was verified, in UTC format.
- Parameters:
verifiedAt- The date and time the target domain was verified, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-