Interface StandbyWorkspace.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StandbyWorkspace.Builder,StandbyWorkspace>,SdkBuilder<StandbyWorkspace.Builder,StandbyWorkspace>,SdkPojo
- Enclosing class:
- StandbyWorkspace
public static interface StandbyWorkspace.Builder extends SdkPojo, CopyableBuilder<StandbyWorkspace.Builder,StandbyWorkspace>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StandbyWorkspace.BuilderdataReplication(String dataReplication)Indicates whether data replication is enabled, and if enabled, the type of data replication.StandbyWorkspace.BuilderdataReplication(DataReplication dataReplication)Indicates whether data replication is enabled, and if enabled, the type of data replication.StandbyWorkspace.BuilderdirectoryId(String directoryId)The identifier of the directory for the standby WorkSpace.StandbyWorkspace.BuilderprimaryWorkspaceId(String primaryWorkspaceId)The identifier of the standby WorkSpace.StandbyWorkspace.Buildertags(Collection<Tag> tags)The tags associated with the standby WorkSpace.StandbyWorkspace.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the standby WorkSpace.StandbyWorkspace.Buildertags(Tag... tags)The tags associated with the standby WorkSpace.StandbyWorkspace.BuildervolumeEncryptionKey(String volumeEncryptionKey)The volume encryption key of the standby WorkSpace.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
primaryWorkspaceId
StandbyWorkspace.Builder primaryWorkspaceId(String primaryWorkspaceId)
The identifier of the standby WorkSpace.
- Parameters:
primaryWorkspaceId- The identifier of the standby WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeEncryptionKey
StandbyWorkspace.Builder volumeEncryptionKey(String volumeEncryptionKey)
The volume encryption key of the standby WorkSpace.
- Parameters:
volumeEncryptionKey- The volume encryption key of the standby WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryId
StandbyWorkspace.Builder directoryId(String directoryId)
The identifier of the directory for the standby WorkSpace.
- Parameters:
directoryId- The identifier of the directory for the standby WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StandbyWorkspace.Builder tags(Collection<Tag> tags)
The tags associated with the standby WorkSpace.
- Parameters:
tags- The tags associated with the standby WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StandbyWorkspace.Builder tags(Tag... tags)
The tags associated with the standby WorkSpace.
- Parameters:
tags- The tags associated with the standby WorkSpace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StandbyWorkspace.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the standby WorkSpace.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
dataReplication
StandbyWorkspace.Builder dataReplication(String dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
- Parameters:
dataReplication- Indicates whether data replication is enabled, and if enabled, the type of data replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataReplication,DataReplication
-
dataReplication
StandbyWorkspace.Builder dataReplication(DataReplication dataReplication)
Indicates whether data replication is enabled, and if enabled, the type of data replication.
- Parameters:
dataReplication- Indicates whether data replication is enabled, and if enabled, the type of data replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataReplication,DataReplication
-
-