@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccessGrantsLocationResult extends AmazonWebServiceResult<S3ControlResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateAccessGrantsLocationResult() |
Modifier and Type | Method and Description |
---|---|
UpdateAccessGrantsLocationResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessGrantsLocationArn()
The Amazon Resource Name (ARN) of the registered location that you are updating.
|
String |
getAccessGrantsLocationId()
The ID of the registered location to which you are granting access.
|
Date |
getCreatedAt()
The date and time when you registered the location.
|
String |
getIAMRoleArn()
The Amazon Resource Name (ARN) of the IAM role of the registered location.
|
String |
getLocationScope()
The S3 URI path of the location that you are updating.
|
int |
hashCode() |
void |
setAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location that you are updating.
|
void |
setAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access.
|
void |
setCreatedAt(Date createdAt)
The date and time when you registered the location.
|
void |
setIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role of the registered location.
|
void |
setLocationScope(String locationScope)
The S3 URI path of the location that you are updating.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAccessGrantsLocationResult |
withAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location that you are updating.
|
UpdateAccessGrantsLocationResult |
withAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access.
|
UpdateAccessGrantsLocationResult |
withCreatedAt(Date createdAt)
The date and time when you registered the location.
|
UpdateAccessGrantsLocationResult |
withIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role of the registered location.
|
UpdateAccessGrantsLocationResult |
withLocationScope(String locationScope)
The S3 URI path of the location that you are updating.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCreatedAt(Date createdAt)
The date and time when you registered the location.
createdAt
- The date and time when you registered the location.public Date getCreatedAt()
The date and time when you registered the location.
public UpdateAccessGrantsLocationResult withCreatedAt(Date createdAt)
The date and time when you registered the location.
createdAt
- The date and time when you registered the location.public void setAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you
registered the location. S3 Access Grants assigns the ID default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.
accessGrantsLocationId
- The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when
you registered the location. S3 Access Grants assigns the ID default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.public String getAccessGrantsLocationId()
The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you
registered the location. S3 Access Grants assigns the ID default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.
default
to the default
location s3://
and assigns an auto-generated ID to other locations that you register.public UpdateAccessGrantsLocationResult withAccessGrantsLocationId(String accessGrantsLocationId)
The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when you
registered the location. S3 Access Grants assigns the ID default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.
accessGrantsLocationId
- The ID of the registered location to which you are granting access. S3 Access Grants assigned this ID when
you registered the location. S3 Access Grants assigns the ID default
to the default location
s3://
and assigns an auto-generated ID to other locations that you register.public void setAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location that you are updating.
accessGrantsLocationArn
- The Amazon Resource Name (ARN) of the registered location that you are updating.public String getAccessGrantsLocationArn()
The Amazon Resource Name (ARN) of the registered location that you are updating.
public UpdateAccessGrantsLocationResult withAccessGrantsLocationArn(String accessGrantsLocationArn)
The Amazon Resource Name (ARN) of the registered location that you are updating.
accessGrantsLocationArn
- The Amazon Resource Name (ARN) of the registered location that you are updating.public void setLocationScope(String locationScope)
The S3 URI path of the location that you are updating. You cannot update the scope of the registered location.
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>
.
locationScope
- The S3 URI path of the location that you are updating. You cannot update the scope of the registered
location. 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>
.public String getLocationScope()
The S3 URI path of the location that you are updating. You cannot update the scope of the registered location.
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>
.
s3://
, the S3 path to a bucket
s3://<bucket>
, or the S3 path to a bucket and prefix
s3://<bucket>/<prefix>
.public UpdateAccessGrantsLocationResult withLocationScope(String locationScope)
The S3 URI path of the location that you are updating. You cannot update the scope of the registered location.
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>
.
locationScope
- The S3 URI path of the location that you are updating. You cannot update the scope of the registered
location. 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>
.public void setIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role of 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 of 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 of the registered location. S3 Access Grants assumes this role to manage access to the registered location.
public UpdateAccessGrantsLocationResult withIAMRoleArn(String iAMRoleArn)
The Amazon Resource Name (ARN) of the IAM role of 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 of the registered location. S3 Access Grants assumes this
role to manage access to the registered location.public String toString()
toString
in class Object
Object.toString()
public UpdateAccessGrantsLocationResult clone()