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