@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DmsTransferSettings extends Object implements Serializable, Cloneable, StructuredPojo
The settings in JSON format for the DMS Transfer type source endpoint.
| Constructor and Description |
|---|
DmsTransferSettings() |
| Modifier and Type | Method and Description |
|---|---|
DmsTransferSettings |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the S3 bucket to use.
|
String |
getServiceAccessRoleArn()
The IAM role that has permission to access the Amazon S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBucketName(String bucketName)
The name of the S3 bucket to use.
|
void |
setServiceAccessRoleArn(String serviceAccessRoleArn)
The IAM role that has permission to access the Amazon S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
DmsTransferSettings |
withBucketName(String bucketName)
The name of the S3 bucket to use.
|
DmsTransferSettings |
withServiceAccessRoleArn(String serviceAccessRoleArn)
The IAM role that has permission to access the Amazon S3 bucket.
|
public void setServiceAccessRoleArn(String serviceAccessRoleArn)
The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax, such
as for the CreateEndpoint and ModifyEndpoint actions, the role must allow the
iam:PassRole action.
serviceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax,
such as for the CreateEndpoint and ModifyEndpoint actions, the role must allow
the iam:PassRole action.public String getServiceAccessRoleArn()
The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax, such
as for the CreateEndpoint and ModifyEndpoint actions, the role must allow the
iam:PassRole action.
CreateEndpoint and ModifyEndpoint actions, the role
must allow the iam:PassRole action.public DmsTransferSettings withServiceAccessRoleArn(String serviceAccessRoleArn)
The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax, such
as for the CreateEndpoint and ModifyEndpoint actions, the role must allow the
iam:PassRole action.
serviceAccessRoleArn - The IAM role that has permission to access the Amazon S3 bucket. When specified as part of request syntax,
such as for the CreateEndpoint and ModifyEndpoint actions, the role must allow
the iam:PassRole action.public void setBucketName(String bucketName)
The name of the S3 bucket to use.
bucketName - The name of the S3 bucket to use.public String getBucketName()
The name of the S3 bucket to use.
public DmsTransferSettings withBucketName(String bucketName)
The name of the S3 bucket to use.
bucketName - The name of the S3 bucket to use.public String toString()
toString in class ObjectObject.toString()public DmsTransferSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.