@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessPoint extends Object implements Serializable, Cloneable
An access point used to access a bucket.
Constructor and Description |
---|
AccessPoint() |
Modifier and Type | Method and Description |
---|---|
AccessPoint |
clone() |
boolean |
equals(Object obj) |
String |
getAccessPointArn()
The ARN for the access point.
|
String |
getAlias()
The name or alias of the access point.
|
String |
getBucket()
The name of the bucket associated with this access point.
|
String |
getBucketAccountId()
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
|
String |
getName()
The name of this access point.
|
String |
getNetworkOrigin()
Indicates whether this access point allows access from the public internet.
|
VpcConfiguration |
getVpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
int |
hashCode() |
void |
setAccessPointArn(String accessPointArn)
The ARN for the access point.
|
void |
setAlias(String alias)
The name or alias of the access point.
|
void |
setBucket(String bucket)
The name of the bucket associated with this access point.
|
void |
setBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
|
void |
setName(String name)
The name of this access point.
|
void |
setNetworkOrigin(String networkOrigin)
Indicates whether this access point allows access from the public internet.
|
void |
setVpcConfiguration(VpcConfiguration vpcConfiguration)
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
String |
toString()
Returns a string representation of this object.
|
AccessPoint |
withAccessPointArn(String accessPointArn)
The ARN for the access point.
|
AccessPoint |
withAlias(String alias)
The name or alias of the access point.
|
AccessPoint |
withBucket(String bucket)
The name of the bucket associated with this access point.
|
AccessPoint |
withBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
|
AccessPoint |
withName(String name)
The name of this access point.
|
AccessPoint |
withNetworkOrigin(NetworkOrigin networkOrigin)
Indicates whether this access point allows access from the public internet.
|
AccessPoint |
withNetworkOrigin(String networkOrigin)
Indicates whether this access point allows access from the public internet.
|
AccessPoint |
withVpcConfiguration(VpcConfiguration vpcConfiguration)
The virtual private cloud (VPC) configuration for this access point, if one exists.
|
public void setName(String name)
The name of this access point.
name
- The name of this access point.public String getName()
The name of this access point.
public AccessPoint withName(String name)
The name of this access point.
name
- The name of this access point.public void setNetworkOrigin(String networkOrigin)
Indicates whether this access point allows access from the public internet. If VpcConfiguration
is
specified for this access point, then NetworkOrigin
is VPC
, and the access point
doesn't allow access from the public internet. Otherwise, NetworkOrigin
is Internet
,
and the access point allows access from the public internet, subject to the access point and bucket access
policies.
networkOrigin
- Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, then NetworkOrigin
is
VPC
, and the access point doesn't allow access from the public internet. Otherwise,
NetworkOrigin
is Internet
, and the access point allows access from the public
internet, subject to the access point and bucket access policies.NetworkOrigin
public String getNetworkOrigin()
Indicates whether this access point allows access from the public internet. If VpcConfiguration
is
specified for this access point, then NetworkOrigin
is VPC
, and the access point
doesn't allow access from the public internet. Otherwise, NetworkOrigin
is Internet
,
and the access point allows access from the public internet, subject to the access point and bucket access
policies.
VpcConfiguration
is specified for this access point, then NetworkOrigin
is
VPC
, and the access point doesn't allow access from the public internet. Otherwise,
NetworkOrigin
is Internet
, and the access point allows access from the public
internet, subject to the access point and bucket access policies.NetworkOrigin
public AccessPoint withNetworkOrigin(String networkOrigin)
Indicates whether this access point allows access from the public internet. If VpcConfiguration
is
specified for this access point, then NetworkOrigin
is VPC
, and the access point
doesn't allow access from the public internet. Otherwise, NetworkOrigin
is Internet
,
and the access point allows access from the public internet, subject to the access point and bucket access
policies.
networkOrigin
- Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, then NetworkOrigin
is
VPC
, and the access point doesn't allow access from the public internet. Otherwise,
NetworkOrigin
is Internet
, and the access point allows access from the public
internet, subject to the access point and bucket access policies.NetworkOrigin
public AccessPoint withNetworkOrigin(NetworkOrigin networkOrigin)
Indicates whether this access point allows access from the public internet. If VpcConfiguration
is
specified for this access point, then NetworkOrigin
is VPC
, and the access point
doesn't allow access from the public internet. Otherwise, NetworkOrigin
is Internet
,
and the access point allows access from the public internet, subject to the access point and bucket access
policies.
networkOrigin
- Indicates whether this access point allows access from the public internet. If
VpcConfiguration
is specified for this access point, then NetworkOrigin
is
VPC
, and the access point doesn't allow access from the public internet. Otherwise,
NetworkOrigin
is Internet
, and the access point allows access from the public
internet, subject to the access point and bucket access policies.NetworkOrigin
public void setVpcConfiguration(VpcConfiguration vpcConfiguration)
The virtual private cloud (VPC) configuration for this access point, if one exists.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
vpcConfiguration
- The virtual private cloud (VPC) configuration for this access point, if one exists. This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
public VpcConfiguration getVpcConfiguration()
The virtual private cloud (VPC) configuration for this access point, if one exists.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
public AccessPoint withVpcConfiguration(VpcConfiguration vpcConfiguration)
The virtual private cloud (VPC) configuration for this access point, if one exists.
This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
vpcConfiguration
- The virtual private cloud (VPC) configuration for this access point, if one exists. This element is empty if this access point is an Amazon S3 on Outposts access point that is used by other Amazon Web Services.
public void setBucket(String bucket)
The name of the bucket associated with this access point.
bucket
- The name of the bucket associated with this access point.public String getBucket()
The name of the bucket associated with this access point.
public AccessPoint withBucket(String bucket)
The name of the bucket associated with this access point.
bucket
- The name of the bucket associated with this access point.public void setAccessPointArn(String accessPointArn)
The ARN for the access point.
accessPointArn
- The ARN for the access point.public String getAccessPointArn()
The ARN for the access point.
public AccessPoint withAccessPointArn(String accessPointArn)
The ARN for the access point.
accessPointArn
- The ARN for the access point.public void setAlias(String alias)
The name or alias of the access point.
alias
- The name or alias of the access point.public String getAlias()
The name or alias of the access point.
public AccessPoint withAlias(String alias)
The name or alias of the access point.
alias
- The name or alias of the access point.public void setBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
bucketAccountId
- The Amazon Web Services account ID associated with the S3 bucket associated with this access point.public String getBucketAccountId()
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
public AccessPoint withBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID associated with the S3 bucket associated with this access point.
bucketAccountId
- The Amazon Web Services account ID associated with the S3 bucket associated with this access point.public String toString()
toString
in class Object
Object.toString()
public AccessPoint clone()