@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConnectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateConnectorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConnectorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccessRole()
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
As2ConnectorConfig |
getAs2Config()
A structure that contains the parameters for a connector object.
|
String |
getLoggingRole()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn
on CloudWatch logging for Amazon S3 events.
|
List<Tag> |
getTags()
Key-value pairs that can be used to group and search for connectors.
|
String |
getUrl()
The URL of the partner's AS2 endpoint.
|
int |
hashCode() |
void |
setAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
void |
setAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
|
void |
setLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn
on CloudWatch logging for Amazon S3 events.
|
void |
setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors.
|
void |
setUrl(String url)
The URL of the partner's AS2 endpoint.
|
String |
toString()
Returns a string representation of this object.
|
CreateConnectorRequest |
withAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
CreateConnectorRequest |
withAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
|
CreateConnectorRequest |
withLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn
on CloudWatch logging for Amazon S3 events.
|
CreateConnectorRequest |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors.
|
CreateConnectorRequest |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for connectors.
|
CreateConnectorRequest |
withUrl(String url)
The URL of the partner's AS2 endpoint.
|
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 setUrl(String url)
The URL of the partner's AS2 endpoint.
url
- The URL of the partner's AS2 endpoint.public String getUrl()
The URL of the partner's AS2 endpoint.
public CreateConnectorRequest withUrl(String url)
The URL of the partner's AS2 endpoint.
url
- The URL of the partner's AS2 endpoint.public void setAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
as2Config
- A structure that contains the parameters for a connector object.public As2ConnectorConfig getAs2Config()
A structure that contains the parameters for a connector object.
public CreateConnectorRequest withAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
as2Config
- A structure that contains the parameters for a connector object.public void setAccessRole(String accessRole)
With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in the
request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a
final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to
provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the parent
directory of the files that you intend to send with StartFileTransfer
.
accessRole
- With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in
the request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and
write a final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the
parent directory of the files that you intend to send with StartFileTransfer
.public String getAccessRole()
With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in the
request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a
final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to
provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the parent
directory of the files that you intend to send with StartFileTransfer
.
StartFileTransfer
and specifying the file paths in
the request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and
write a final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the
parent directory of the files that you intend to send with StartFileTransfer
.public CreateConnectorRequest withAccessRole(String accessRole)
With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in the
request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a
final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to
provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the parent
directory of the files that you intend to send with StartFileTransfer
.
accessRole
- With AS2, you can send files by calling StartFileTransfer
and specifying the file paths in
the request parameter, SendFilePaths
. We use the file’s parent directory (for example, for
--send-file-paths /bucket/dir/file.txt
, parent directory is /bucket/dir/
) to
temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and
write a final JSON file containing relevant metadata of the transmission. So, the AccessRole
needs to provide read and write access to the parent directory of the file location used in the
StartFileTransfer
request. Additionally, you need to provide read and write access to the
parent directory of the files that you intend to send with StartFileTransfer
.public void setLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.
loggingRole
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to
turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your
CloudWatch logs.public String getLoggingRole()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.
public CreateConnectorRequest withLoggingRole(String loggingRole)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your CloudWatch logs.
loggingRole
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a connector to
turn on CloudWatch logging for Amazon S3 events. When set, you can view connector activity in your
CloudWatch logs.public List<Tag> getTags()
Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
public void setTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
tags
- Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to
connectors for any purpose.public CreateConnectorRequest withTags(Tag... tags)
Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
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
- Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to
connectors for any purpose.public CreateConnectorRequest withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to connectors for any purpose.
tags
- Key-value pairs that can be used to group and search for connectors. Tags are metadata attached to
connectors for any purpose.public String toString()
toString
in class Object
Object.toString()
public CreateConnectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()