@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessGrantsLocationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAccessGrantsLocationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAccessGrantsLocationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the Amazon Web Services account that is making this request.
|
String |
getIAMRoleArn()
The Amazon Resource Name (ARN) of the IAM role for the registered location.
|
String |
getLocationScope()
The S3 path to the location that you are registering.
|
List<Tag> |
getTags()
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
void |
setIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role for the registered location.
|
void |
setLocationScope(String locationScope)
The S3 path to the location that you are registering.
|
void |
setTags(Collection<Tag> tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccessGrantsLocationRequest |
withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
|
CreateAccessGrantsLocationRequest |
withIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role for the registered location.
|
CreateAccessGrantsLocationRequest |
withLocationScope(String locationScope)
The S3 path to the location that you are registering.
|
CreateAccessGrantsLocationRequest |
withTags(Collection<Tag> tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location.
|
CreateAccessGrantsLocationRequest |
withTags(Tag... tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location.
|
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 ID of the Amazon Web Services account that is making this request.
accountId
- The ID of the Amazon Web Services account that is making this request.public String getAccountId()
The ID of the Amazon Web Services account that is making this request.
public CreateAccessGrantsLocationRequest withAccountId(String accountId)
The ID of the Amazon Web Services account that is making this request.
accountId
- The ID of the Amazon Web Services account that is making this request.public void setLocationScope(String locationScope)
The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket and
prefix s3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at the beginning
of an object key name used to organize the objects that you store in your S3 buckets. For example, object key
names that start with the engineering/
prefix or object key names that start with the
marketing/campaigns/
prefix.
locationScope
- The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket
and prefix s3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at
the beginning of an object key name used to organize the objects that you store in your S3 buckets. For
example, object key names that start with the engineering/
prefix or object key names that
start with the marketing/campaigns/
prefix.public String getLocationScope()
The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket and
prefix s3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at the beginning
of an object key name used to organize the objects that you store in your S3 buckets. For example, object key
names that start with the engineering/
prefix or object key names that start with the
marketing/campaigns/
prefix.
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket
and prefix s3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at
the beginning of an object key name used to organize the objects that you store in your S3 buckets. For
example, object key names that start with the engineering/
prefix or object key names that
start with the marketing/campaigns/
prefix.public CreateAccessGrantsLocationRequest withLocationScope(String locationScope)
The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket and
prefix s3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at the beginning
of an object key name used to organize the objects that you store in your S3 buckets. For example, object key
names that start with the engineering/
prefix or object key names that start with the
marketing/campaigns/
prefix.
locationScope
- The S3 path to the location that you are registering. The location scope can be the default S3 location
s3://
, the S3 path to a bucket s3://<bucket>
, or the S3 path to a bucket
and prefix s3://<bucket>/<prefix>
. A prefix in S3 is a string of characters at
the beginning of an object key name used to organize the objects that you store in your S3 buckets. For
example, object key names that start with the engineering/
prefix or object key names that
start with the marketing/campaigns/
prefix.public void setIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
iAMRoleArn
- The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this
role to manage access to the registered location.public String getIAMRoleArn()
The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
public CreateAccessGrantsLocationRequest withIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this role to manage access to the registered location.
iAMRoleArn
- The Amazon Resource Name (ARN) of the IAM role for the registered location. S3 Access Grants assumes this
role to manage access to the registered location.public List<Tag> getTags()
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
public void setTags(Collection<Tag> tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
tags
- The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a
label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search
for, and filter resources.public CreateAccessGrantsLocationRequest withTags(Tag... tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a
label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search
for, and filter resources.public CreateAccessGrantsLocationRequest withTags(Collection<Tag> tags)
The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
tags
- The Amazon Web Services resource tags that you are adding to the S3 Access Grants location. Each tag is a
label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search
for, and filter resources.public String toString()
toString
in class Object
Object.toString()
public CreateAccessGrantsLocationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()