@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, setSdkResponseMetadata
public 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.ImageBlockPublicAccessEnabledState
public 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.ImageBlockPublicAccessEnabledState
public 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.ImageBlockPublicAccessEnabledState
public 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.ImageBlockPublicAccessEnabledState
public String toString()
toString
in class Object
Object.toString()
public EnableImageBlockPublicAccessResult clone()