@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlockPublicAccess extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on how the bucker owner's S3 Block Public Access settings are being applied to the S3 bucket. See S3 Block Public Access for more information.
Constructor and Description |
---|
BlockPublicAccess() |
Modifier and Type | Method and Description |
---|---|
BlockPublicAccess |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlockPublicAcls()
Indicates if S3 Block Public Access is set to
BlockPublicAcls . |
Boolean |
getBlockPublicPolicy()
Indicates if S3 Block Public Access is set to
BlockPublicPolicy . |
Boolean |
getIgnorePublicAcls()
Indicates if S3 Block Public Access is set to
IgnorePublicAcls . |
Boolean |
getRestrictPublicBuckets()
Indicates if S3 Block Public Access is set to
RestrictPublicBuckets . |
int |
hashCode() |
Boolean |
isBlockPublicAcls()
Indicates if S3 Block Public Access is set to
BlockPublicAcls . |
Boolean |
isBlockPublicPolicy()
Indicates if S3 Block Public Access is set to
BlockPublicPolicy . |
Boolean |
isIgnorePublicAcls()
Indicates if S3 Block Public Access is set to
IgnorePublicAcls . |
Boolean |
isRestrictPublicBuckets()
Indicates if S3 Block Public Access is set to
RestrictPublicBuckets . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlockPublicAcls(Boolean blockPublicAcls)
Indicates if S3 Block Public Access is set to
BlockPublicAcls . |
void |
setBlockPublicPolicy(Boolean blockPublicPolicy)
Indicates if S3 Block Public Access is set to
BlockPublicPolicy . |
void |
setIgnorePublicAcls(Boolean ignorePublicAcls)
Indicates if S3 Block Public Access is set to
IgnorePublicAcls . |
void |
setRestrictPublicBuckets(Boolean restrictPublicBuckets)
Indicates if S3 Block Public Access is set to
RestrictPublicBuckets . |
String |
toString()
Returns a string representation of this object.
|
BlockPublicAccess |
withBlockPublicAcls(Boolean blockPublicAcls)
Indicates if S3 Block Public Access is set to
BlockPublicAcls . |
BlockPublicAccess |
withBlockPublicPolicy(Boolean blockPublicPolicy)
Indicates if S3 Block Public Access is set to
BlockPublicPolicy . |
BlockPublicAccess |
withIgnorePublicAcls(Boolean ignorePublicAcls)
Indicates if S3 Block Public Access is set to
IgnorePublicAcls . |
BlockPublicAccess |
withRestrictPublicBuckets(Boolean restrictPublicBuckets)
Indicates if S3 Block Public Access is set to
RestrictPublicBuckets . |
public void setIgnorePublicAcls(Boolean ignorePublicAcls)
Indicates if S3 Block Public Access is set to IgnorePublicAcls
.
ignorePublicAcls
- Indicates if S3 Block Public Access is set to IgnorePublicAcls
.public Boolean getIgnorePublicAcls()
Indicates if S3 Block Public Access is set to IgnorePublicAcls
.
IgnorePublicAcls
.public BlockPublicAccess withIgnorePublicAcls(Boolean ignorePublicAcls)
Indicates if S3 Block Public Access is set to IgnorePublicAcls
.
ignorePublicAcls
- Indicates if S3 Block Public Access is set to IgnorePublicAcls
.public Boolean isIgnorePublicAcls()
Indicates if S3 Block Public Access is set to IgnorePublicAcls
.
IgnorePublicAcls
.public void setRestrictPublicBuckets(Boolean restrictPublicBuckets)
Indicates if S3 Block Public Access is set to RestrictPublicBuckets
.
restrictPublicBuckets
- Indicates if S3 Block Public Access is set to RestrictPublicBuckets
.public Boolean getRestrictPublicBuckets()
Indicates if S3 Block Public Access is set to RestrictPublicBuckets
.
RestrictPublicBuckets
.public BlockPublicAccess withRestrictPublicBuckets(Boolean restrictPublicBuckets)
Indicates if S3 Block Public Access is set to RestrictPublicBuckets
.
restrictPublicBuckets
- Indicates if S3 Block Public Access is set to RestrictPublicBuckets
.public Boolean isRestrictPublicBuckets()
Indicates if S3 Block Public Access is set to RestrictPublicBuckets
.
RestrictPublicBuckets
.public void setBlockPublicAcls(Boolean blockPublicAcls)
Indicates if S3 Block Public Access is set to BlockPublicAcls
.
blockPublicAcls
- Indicates if S3 Block Public Access is set to BlockPublicAcls
.public Boolean getBlockPublicAcls()
Indicates if S3 Block Public Access is set to BlockPublicAcls
.
BlockPublicAcls
.public BlockPublicAccess withBlockPublicAcls(Boolean blockPublicAcls)
Indicates if S3 Block Public Access is set to BlockPublicAcls
.
blockPublicAcls
- Indicates if S3 Block Public Access is set to BlockPublicAcls
.public Boolean isBlockPublicAcls()
Indicates if S3 Block Public Access is set to BlockPublicAcls
.
BlockPublicAcls
.public void setBlockPublicPolicy(Boolean blockPublicPolicy)
Indicates if S3 Block Public Access is set to BlockPublicPolicy
.
blockPublicPolicy
- Indicates if S3 Block Public Access is set to BlockPublicPolicy
.public Boolean getBlockPublicPolicy()
Indicates if S3 Block Public Access is set to BlockPublicPolicy
.
BlockPublicPolicy
.public BlockPublicAccess withBlockPublicPolicy(Boolean blockPublicPolicy)
Indicates if S3 Block Public Access is set to BlockPublicPolicy
.
blockPublicPolicy
- Indicates if S3 Block Public Access is set to BlockPublicPolicy
.public Boolean isBlockPublicPolicy()
Indicates if S3 Block Public Access is set to BlockPublicPolicy
.
BlockPublicPolicy
.public String toString()
toString
in class Object
Object.toString()
public BlockPublicAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.