Uses of Enum
software.amazon.awssdk.services.ec2.model.ImageBlockPublicAccessEnabledState
Packages that use ImageBlockPublicAccessEnabledState
-
Uses of ImageBlockPublicAccessEnabledState in software.amazon.awssdk.services.ec2.model
Methods in software.amazon.awssdk.services.ec2.model that return ImageBlockPublicAccessEnabledStateModifier and TypeMethodDescriptionUse this in place of valueOf to convert the raw string returned by the service into the enum value.EnableImageBlockPublicAccessRequest.imageBlockPublicAccessState()Specifyblock-new-sharingto enable block public access for AMIs at the account level in the specified Region.EnableImageBlockPublicAccessResponse.imageBlockPublicAccessState()Returnsblock-new-sharingif the request succeeds; otherwise, it returns an error.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 ImageBlockPublicAccessEnabledStateMethods in software.amazon.awssdk.services.ec2.model with parameters of type ImageBlockPublicAccessEnabledStateModifier and TypeMethodDescriptionEnableImageBlockPublicAccessRequest.Builder.imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState) Specifyblock-new-sharingto enable block public access for AMIs at the account level in the specified Region.EnableImageBlockPublicAccessResponse.Builder.imageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState) Returnsblock-new-sharingif the request succeeds; otherwise, it returns an error.