@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableImageBlockPublicAccessResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
EnableImageBlockPublicAccessResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
EnableImageBlockPublicAccessResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getImageBlockPublicAccessState()
 Returns  
block-new-sharing if the request succeeds; otherwise, it returns an error. | 
int | 
hashCode()  | 
void | 
setImageBlockPublicAccessState(String imageBlockPublicAccessState)
 Returns  
block-new-sharing if the request succeeds; otherwise, it returns an error. | 
String | 
toString()
Returns a string representation of this object. 
 | 
EnableImageBlockPublicAccessResult | 
withImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
 Returns  
block-new-sharing if the request succeeds; otherwise, it returns an error. | 
EnableImageBlockPublicAccessResult | 
withImageBlockPublicAccessState(String imageBlockPublicAccessState)
 Returns  
block-new-sharing if the request succeeds; otherwise, it returns an error. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setImageBlockPublicAccessState(String imageBlockPublicAccessState)
 Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
 
imageBlockPublicAccessState - Returns block-new-sharing if the request succeeds; otherwise, it returns an error.ImageBlockPublicAccessEnabledStatepublic String getImageBlockPublicAccessState()
 Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
 
block-new-sharing if the request succeeds; otherwise, it returns an error.ImageBlockPublicAccessEnabledStatepublic EnableImageBlockPublicAccessResult withImageBlockPublicAccessState(String imageBlockPublicAccessState)
 Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
 
imageBlockPublicAccessState - Returns block-new-sharing if the request succeeds; otherwise, it returns an error.ImageBlockPublicAccessEnabledStatepublic EnableImageBlockPublicAccessResult withImageBlockPublicAccessState(ImageBlockPublicAccessEnabledState imageBlockPublicAccessState)
 Returns block-new-sharing if the request succeeds; otherwise, it returns an error.
 
imageBlockPublicAccessState - Returns block-new-sharing if the request succeeds; otherwise, it returns an error.ImageBlockPublicAccessEnabledStatepublic String toString()
toString in class ObjectObject.toString()public EnableImageBlockPublicAccessResult clone()