Uses of Class
software.amazon.awssdk.services.ec2.model.ImageBlockPublicAccessEnabledState
-
Packages that use ImageBlockPublicAccessEnabledState Package Description software.amazon.awssdk.services.ec2.model -
-
Uses of ImageBlockPublicAccessEnabledState in software.amazon.awssdk.services.ec2.model
Methods in software.amazon.awssdk.services.ec2.model that return ImageBlockPublicAccessEnabledState Modifier and Type Method 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()
Specifyblock-new-sharing
to enable block public access for AMIs at the account level in the specified Region.ImageBlockPublicAccessEnabledState
EnableImageBlockPublicAccessResponse. imageBlockPublicAccessState()
Returnsblock-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.Methods in software.amazon.awssdk.services.ec2.model that return types with arguments of type ImageBlockPublicAccessEnabledState Modifier and Type Method Description static Set<ImageBlockPublicAccessEnabledState>
ImageBlockPublicAccessEnabledState. knownValues()
Methods in software.amazon.awssdk.services.ec2.model with parameters of type ImageBlockPublicAccessEnabledState Modifier and Type Method Description EnableImageBlockPublicAccessRequest.Builder
EnableImageBlockPublicAccessRequest.Builder. imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Specifyblock-new-sharing
to enable block public access for AMIs at the account level in the specified Region.EnableImageBlockPublicAccessResponse.Builder
EnableImageBlockPublicAccessResponse.Builder. imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
Returnsblock-new-sharing
if the request succeeds; otherwise, it returns an error.
-