Interface EnableSnapshotBlockPublicAccessResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<EnableSnapshotBlockPublicAccessResponse.Builder,EnableSnapshotBlockPublicAccessResponse>,Ec2Response.Builder,SdkBuilder<EnableSnapshotBlockPublicAccessResponse.Builder,EnableSnapshotBlockPublicAccessResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- EnableSnapshotBlockPublicAccessResponse
public static interface EnableSnapshotBlockPublicAccessResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<EnableSnapshotBlockPublicAccessResponse.Builder,EnableSnapshotBlockPublicAccessResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnableSnapshotBlockPublicAccessResponse.Builderstate(String state)The state of block public access for snapshots for the account and Region.EnableSnapshotBlockPublicAccessResponse.Builderstate(SnapshotBlockPublicAccessState state)The state of block public access for snapshots for the account and Region.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
state
EnableSnapshotBlockPublicAccessResponse.Builder state(String state)
The state of block public access for snapshots for the account and Region. Returns either
block-all-sharingorblock-new-sharingif the request succeeds.- Parameters:
state- The state of block public access for snapshots for the account and Region. Returns eitherblock-all-sharingorblock-new-sharingif the request succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotBlockPublicAccessState,SnapshotBlockPublicAccessState
-
state
EnableSnapshotBlockPublicAccessResponse.Builder state(SnapshotBlockPublicAccessState state)
The state of block public access for snapshots for the account and Region. Returns either
block-all-sharingorblock-new-sharingif the request succeeds.- Parameters:
state- The state of block public access for snapshots for the account and Region. Returns eitherblock-all-sharingorblock-new-sharingif the request succeeds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotBlockPublicAccessState,SnapshotBlockPublicAccessState
-
-