| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
static ImageBlockPublicAccessEnabledState |
ImageBlockPublicAccessEnabledState.fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
ImageBlockPublicAccessEnabledState |
EnableImageBlockPublicAccessRequest.imageBlockPublicAccessState()
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
ImageBlockPublicAccessEnabledState |
EnableImageBlockPublicAccessResponse.imageBlockPublicAccessState()
Returns
block-new-sharing if the request succeeds; otherwise, it returns an error. |
static ImageBlockPublicAccessEnabledState |
ImageBlockPublicAccessEnabledState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageBlockPublicAccessEnabledState[] |
ImageBlockPublicAccessEnabledState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<ImageBlockPublicAccessEnabledState> |
ImageBlockPublicAccessEnabledState.knownValues()
|
| Modifier and Type | Method and Description |
|---|---|
EnableImageBlockPublicAccessRequest.Builder |
EnableImageBlockPublicAccessRequest.Builder.imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
EnableImageBlockPublicAccessResponse.Builder |
EnableImageBlockPublicAccessResponse.Builder.imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Returns
block-new-sharing if the request succeeds; otherwise, it returns an error. |
Copyright © 2023. All rights reserved.