Interface CertificateAssociationStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CertificateAssociationStatus.Builder,,CertificateAssociationStatus> SdkBuilder<CertificateAssociationStatus.Builder,,CertificateAssociationStatus> SdkPojo
- Enclosing class:
CertificateAssociationStatus
@Mutable
@NotThreadSafe
public static interface CertificateAssociationStatus.Builder
extends SdkPojo, CopyableBuilder<CertificateAssociationStatus.Builder,CertificateAssociationStatus>
-
Method Summary
Modifier and TypeMethodDescriptionThe status code of the association.The status code of the association.The reasons for the current status of the association.reasons(Consumer<CertificateAssociationStatusReason.Builder>... reasons) The reasons for the current status of the association.reasons(CertificateAssociationStatusReason... reasons) The reasons for the current status of the association.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, sdkFields
-
Method Details
-
code
The status code of the association.
- Parameters:
code- The status code of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The status code of the association.
- Parameters:
code- The status code of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasons
CertificateAssociationStatus.Builder reasons(Collection<CertificateAssociationStatusReason> reasons) The reasons for the current status of the association.
- Parameters:
reasons- The reasons for the current status of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
The reasons for the current status of the association.
- Parameters:
reasons- The reasons for the current status of the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
CertificateAssociationStatus.Builder reasons(Consumer<CertificateAssociationStatusReason.Builder>... reasons) The reasons for the current status of the association.
This is a convenience method that creates an instance of theCertificateAssociationStatusReason.Builderavoiding the need to create one manually viaCertificateAssociationStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasons(List<CertificateAssociationStatusReason>).- Parameters:
reasons- a consumer that will call methods onCertificateAssociationStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-