Package | Description |
---|---|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
static ImageBlockPublicAccessEnabledState |
ImageBlockPublicAccessEnabledState.fromValue(String value)
Use this in place of valueOf.
|
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 |
---|---|
EnableImageBlockPublicAccessResult |
EnableImageBlockPublicAccessResult.withImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Returns
block-new-sharing if the request succeeds; otherwise, it returns an error. |
EnableImageBlockPublicAccessRequest |
EnableImageBlockPublicAccessRequest.withImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Specify
block-new-sharing to enable block public access for AMIs at the account level in the
specified Region. |
Copyright © 2023. All rights reserved.