@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 AWS 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() |
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 AWS 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) |
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 AWS 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) |
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 AWS account ID for the owner of the bucket for which you want to create an access point.
accountId
- The AWS account ID for the owner of the bucket for which you want to create an access point.public String getAccountId()
The AWS account ID for the owner of the bucket for which you want to create an access point.
public CreateAccessPointRequest withAccountId(String accountId)
The AWS account ID for the owner of the bucket for which you want to create an access point.
accountId
- The AWS 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.
bucket
- The name of the bucket that you want to associate this access point with.public String getBucket()
The name of the bucket that you want to associate this access point with.
public CreateAccessPointRequest withBucket(String bucket)
The name of the bucket that you want to associate this access point with.
bucket
- The name of the bucket that you want to associate this access point with.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).
vpcConfiguration
- If you include this field, Amazon S3 restricts access to this access point to requests from the specified
Virtual Private Cloud (VPC).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).
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).
vpcConfiguration
- If you include this field, Amazon S3 restricts access to this access point to requests from the specified
Virtual Private Cloud (VPC).public void setPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
publicAccessBlockConfiguration
- public PublicAccessBlockConfiguration getPublicAccessBlockConfiguration()
public CreateAccessPointRequest withPublicAccessBlockConfiguration(PublicAccessBlockConfiguration publicAccessBlockConfiguration)
publicAccessBlockConfiguration
- public String toString()
toString
in class Object
Object.toString()
public CreateAccessPointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.