Interface GetSnapshotBlockPublicAccessStateResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetSnapshotBlockPublicAccessStateResponse.Builder,GetSnapshotBlockPublicAccessStateResponse>, Ec2Response.Builder, SdkBuilder<GetSnapshotBlockPublicAccessStateResponse.Builder,GetSnapshotBlockPublicAccessStateResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetSnapshotBlockPublicAccessStateResponse

public static interface GetSnapshotBlockPublicAccessStateResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetSnapshotBlockPublicAccessStateResponse.Builder,GetSnapshotBlockPublicAccessStateResponse>
  • Method Details

    • state

      The current state of block public access for snapshots. Possible values include:

      • block-all-sharing - All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

      • block-new-sharing - Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

      • unblocked - Public sharing is not blocked. Users can publicly share snapshots.

      Parameters:
      state - The current state of block public access for snapshots. Possible values include:

      • block-all-sharing - All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

      • block-new-sharing - Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

      • unblocked - Public sharing is not blocked. Users can publicly share snapshots.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of block public access for snapshots. Possible values include:

      • block-all-sharing - All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

      • block-new-sharing - Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

      • unblocked - Public sharing is not blocked. Users can publicly share snapshots.

      Parameters:
      state - The current state of block public access for snapshots. Possible values include:

      • block-all-sharing - All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

      • block-new-sharing - Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

      • unblocked - Public sharing is not blocked. Users can publicly share snapshots.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: