Interface StandbyWorkspace.Builder

    • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.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