@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessPointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAccessPointRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAccessPointRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
|
String |
getBucket()
The name of the bucket that you want to associate this access point with.
|
String |
getName()
The name you want to assign to this access point.
|
PublicAccessBlockConfiguration |
getPublicAccessBlockConfiguration()
The
PublicAccessBlock configuration that you want to apply to the access point. |
VpcConfiguration |
getVpcConfiguration()
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual
private cloud (VPC).
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
|
void |
setBucket(String bucket)
The name of the bucket that you want to associate this access point with.
|
void |
setName(String name)
The name you want to assign to this access point.
|
void |
setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the access point. |
void |
setVpcConfiguration(VpcConfiguration vpcConfiguration)
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual
private cloud (VPC).
|
String |
toString()
Returns a string representation of this object.
|
CreateAccessPointRequest |
withAccountId(String accountId)
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
|
CreateAccessPointRequest |
withBucket(String bucket)
The name of the bucket that you want to associate this access point with.
|
CreateAccessPointRequest |
withName(String name)
The name you want to assign to this access point.
|
CreateAccessPointRequest |
withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The
PublicAccessBlock configuration that you want to apply to the access point. |
CreateAccessPointRequest |
withVpcConfiguration(VpcConfiguration vpcConfiguration)
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual
private cloud (VPC).
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAccountId(String accountId)
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
accountId
- The Amazon Web Services account ID for the owner of the bucket for which you want to create an access
point.public String getAccountId()
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
public CreateAccessPointRequest withAccountId(String accountId)
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
accountId
- The Amazon Web Services account ID for the owner of the bucket for which you want to create an access
point.public void setName(String name)
The name you want to assign to this access point.
name
- The name you want to assign to this access point.public String getName()
The name you want to assign to this access point.
public CreateAccessPointRequest withName(String name)
The name you want to assign to this access point.
name
- The name you want to assign to this access point.public void setBucket(String bucket)
The name of the bucket that you want to associate this access point with.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN
of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports
through outpost my-outpost
owned by account
123456789012
in Region us-west-2
, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL
encoded.
bucket
- The name of the bucket that you want to associate this access point with.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify
the ARN of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports
through outpost my-outpost
owned by
account 123456789012
in Region us-west-2
, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must
be URL encoded.
public String getBucket()
The name of the bucket that you want to associate this access point with.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN
of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports
through outpost my-outpost
owned by account
123456789012
in Region us-west-2
, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL
encoded.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify
the ARN of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports
through outpost my-outpost
owned by
account 123456789012
in Region us-west-2
, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must
be URL encoded.
public CreateAccessPointRequest withBucket(String bucket)
The name of the bucket that you want to associate this access point with.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN
of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports
through outpost my-outpost
owned by account
123456789012
in Region us-west-2
, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must be URL
encoded.
bucket
- The name of the bucket that you want to associate this access point with.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify
the ARN of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports
through outpost my-outpost
owned by
account 123456789012
in Region us-west-2
, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports
. The value must
be URL encoded.
public void setVpcConfiguration(VpcConfiguration vpcConfiguration)
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
This is required for creating an access point for Amazon S3 on Outposts buckets.
vpcConfiguration
- If you include this field, Amazon S3 restricts access to this access point to requests from the specified
virtual private cloud (VPC). This is required for creating an access point for Amazon S3 on Outposts buckets.
public VpcConfiguration getVpcConfiguration()
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
This is required for creating an access point for Amazon S3 on Outposts buckets.
This is required for creating an access point for Amazon S3 on Outposts buckets.
public CreateAccessPointRequest withVpcConfiguration(VpcConfiguration vpcConfiguration)
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
This is required for creating an access point for Amazon S3 on Outposts buckets.
vpcConfiguration
- If you include this field, Amazon S3 restricts access to this access point to requests from the specified
virtual private cloud (VPC). This is required for creating an access point for Amazon S3 on Outposts buckets.
public void setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock
configuration that you want to apply to the access point.
publicAccessBlockConfiguration
- The PublicAccessBlock
configuration that you want to apply to the access point.public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
The PublicAccessBlock
configuration that you want to apply to the access point.
PublicAccessBlock
configuration that you want to apply to the access point.public CreateAccessPointRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
The PublicAccessBlock
configuration that you want to apply to the access point.
publicAccessBlockConfiguration
- The PublicAccessBlock
configuration that you want to apply to the access point.public String toString()
toString
in class Object
Object.toString()
public CreateAccessPointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()