Interface ModifyBackupAttributesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CloudHsmV2Response.Builder,- CopyableBuilder<ModifyBackupAttributesResponse.Builder,,- ModifyBackupAttributesResponse> - SdkBuilder<ModifyBackupAttributesResponse.Builder,,- ModifyBackupAttributesResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ModifyBackupAttributesResponse
@Mutable
@NotThreadSafe
public static interface ModifyBackupAttributesResponse.Builder
extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<ModifyBackupAttributesResponse.Builder,ModifyBackupAttributesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionbackup(Consumer<Backup.Builder> backup) Sets the value of the Backup property for this object.Sets the value of the Backup property for this object.Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
backupSets the value of the Backup property for this object.- Parameters:
- backup- The new value for the Backup property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
backupSets the value of the Backup property for this object. This is a convenience method that creates an instance of theBackup.Builderavoiding the need to create one manually viaBackup.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackup(Backup).- Parameters:
- backup- a consumer that will call methods on- Backup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-