Interface ResourceTargetConfigurationForServerFilesystem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceTargetConfigurationForServerFilesystem.Builder,,ResourceTargetConfigurationForServerFilesystem> SdkBuilder<ResourceTargetConfigurationForServerFilesystem.Builder,,ResourceTargetConfigurationForServerFilesystem> SdkPojo
- Enclosing class:
ResourceTargetConfigurationForServerFilesystem
@Mutable
@NotThreadSafe
public static interface ResourceTargetConfigurationForServerFilesystem.Builder
extends SdkPojo, CopyableBuilder<ResourceTargetConfigurationForServerFilesystem.Builder,ResourceTargetConfigurationForServerFilesystem>
-
Method Summary
Modifier and TypeMethodDescriptionbackupConsistency(String backupConsistency) Sets the value of the BackupConsistency property for this object.backupConsistency(ServerFilesystemBackupConsistency backupConsistency) Sets the value of the BackupConsistency property for this object.postBackupScript(Consumer<ServerFilesystemPostBackupScript.Builder> postBackupScript) Sets the value of the PostBackupScript property for this object.postBackupScript(ServerFilesystemPostBackupScript postBackupScript) Sets the value of the PostBackupScript property for this object.preBackupScript(Consumer<ServerFilesystemPreBackupScript.Builder> preBackupScript) Sets the value of the PreBackupScript property for this object.preBackupScript(ServerFilesystemPreBackupScript preBackupScript) Sets the value of the PreBackupScript property for this object.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
-
backupConsistency
Sets the value of the BackupConsistency property for this object.- Parameters:
backupConsistency- The new value for the BackupConsistency property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backupConsistency
ResourceTargetConfigurationForServerFilesystem.Builder backupConsistency(ServerFilesystemBackupConsistency backupConsistency) Sets the value of the BackupConsistency property for this object.- Parameters:
backupConsistency- The new value for the BackupConsistency property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postBackupScript
ResourceTargetConfigurationForServerFilesystem.Builder postBackupScript(ServerFilesystemPostBackupScript postBackupScript) Sets the value of the PostBackupScript property for this object.- Parameters:
postBackupScript- The new value for the PostBackupScript property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postBackupScript
default ResourceTargetConfigurationForServerFilesystem.Builder postBackupScript(Consumer<ServerFilesystemPostBackupScript.Builder> postBackupScript) Sets the value of the PostBackupScript property for this object. This is a convenience method that creates an instance of theServerFilesystemPostBackupScript.Builderavoiding the need to create one manually viaServerFilesystemPostBackupScript.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topostBackupScript(ServerFilesystemPostBackupScript).- Parameters:
postBackupScript- a consumer that will call methods onServerFilesystemPostBackupScript.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preBackupScript
ResourceTargetConfigurationForServerFilesystem.Builder preBackupScript(ServerFilesystemPreBackupScript preBackupScript) Sets the value of the PreBackupScript property for this object.- Parameters:
preBackupScript- The new value for the PreBackupScript property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preBackupScript
default ResourceTargetConfigurationForServerFilesystem.Builder preBackupScript(Consumer<ServerFilesystemPreBackupScript.Builder> preBackupScript) Sets the value of the PreBackupScript property for this object. This is a convenience method that creates an instance of theServerFilesystemPreBackupScript.Builderavoiding the need to create one manually viaServerFilesystemPreBackupScript.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreBackupScript(ServerFilesystemPreBackupScript).- Parameters:
preBackupScript- a consumer that will call methods onServerFilesystemPreBackupScript.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-