Interface GetImageBlockPublicAccessStateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>,Ec2Response.Builder,SdkBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetImageBlockPublicAccessStateResponse
public static interface GetImageBlockPublicAccessStateResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetImageBlockPublicAccessStateResponse.Builder,GetImageBlockPublicAccessStateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetImageBlockPublicAccessStateResponse.BuilderimageBlockPublicAccessState(String imageBlockPublicAccessState)The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.GetImageBlockPublicAccessStateResponse.BuildermanagedBy(String managedBy)The entity that manages the state for block public access for AMIs.GetImageBlockPublicAccessStateResponse.BuildermanagedBy(ManagedBy managedBy)The entity that manages the state for block public access for AMIs.-
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
-
imageBlockPublicAccessState
GetImageBlockPublicAccessStateResponse.Builder imageBlockPublicAccessState(String imageBlockPublicAccessState)
The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
-
block-new-sharing- Any attempt to publicly share your AMIs in the specified Region is blocked. -
unblocked- Your AMIs in the specified Region can be publicly shared.
- Parameters:
imageBlockPublicAccessState- The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.Possible values:
-
block-new-sharing- Any attempt to publicly share your AMIs in the specified Region is blocked. -
unblocked- Your AMIs in the specified Region can be publicly shared.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
managedBy
GetImageBlockPublicAccessStateResponse.Builder managedBy(String managedBy)
The entity that manages the state for block public access for AMIs. Possible values include:
-
account- The state is managed by the account. -
declarative-policy- The state is managed by a declarative policy and can't be modified by the account.
- Parameters:
managedBy- The entity that manages the state for block public access for AMIs. Possible values include:-
account- The state is managed by the account. -
declarative-policy- The state is managed by a declarative policy and can't be modified by the account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedBy,ManagedBy
-
-
managedBy
GetImageBlockPublicAccessStateResponse.Builder managedBy(ManagedBy managedBy)
The entity that manages the state for block public access for AMIs. Possible values include:
-
account- The state is managed by the account. -
declarative-policy- The state is managed by a declarative policy and can't be modified by the account.
- Parameters:
managedBy- The entity that manages the state for block public access for AMIs. Possible values include:-
account- The state is managed by the account. -
declarative-policy- The state is managed by a declarative policy and can't be modified by the account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedBy,ManagedBy
-
-
-