public static interface DescribedConnector.Builder extends SdkPojo, CopyableBuilder<DescribedConnector.Builder,DescribedConnector>
| Modifier and Type | Method and Description |
|---|---|
DescribedConnector.Builder |
accessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths. |
DescribedConnector.Builder |
arn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
|
DescribedConnector.Builder |
as2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
|
default DescribedConnector.Builder |
as2Config(Consumer<As2ConnectorConfig.Builder> as2Config)
A structure that contains the parameters for a connector object.
|
DescribedConnector.Builder |
connectorId(String connectorId)
The unique identifier for the connector.
|
DescribedConnector.Builder |
loggingRole(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.
|
DescribedConnector.Builder |
tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors.
|
DescribedConnector.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for connectors.
|
DescribedConnector.Builder |
tags(Tag... tags)
Key-value pairs that can be used to group and search for connectors.
|
DescribedConnector.Builder |
url(String url)
The URL of the partner's AS2 endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribedConnector.Builder arn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
arn - The unique Amazon Resource Name (ARN) for the connector.DescribedConnector.Builder connectorId(String connectorId)
The unique identifier for the connector.
connectorId - The unique identifier for the connector.DescribedConnector.Builder url(String url)
The URL of the partner's AS2 endpoint.
url - The URL of the partner's AS2 endpoint.DescribedConnector.Builder as2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
as2Config - A structure that contains the parameters for a connector object.default DescribedConnector.Builder as2Config(Consumer<As2ConnectorConfig.Builder> as2Config)
A structure that contains the parameters for a connector object.
This is a convenience method that creates an instance of theAs2ConnectorConfig.Builder avoiding the
need to create one manually via As2ConnectorConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to as2Config(As2ConnectorConfig).
as2Config - a consumer that will call methods on As2ConnectorConfig.Builderas2Config(As2ConnectorConfig)DescribedConnector.Builder accessRole(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.DescribedConnector.Builder loggingRole(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.DescribedConnector.Builder tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors.
tags - Key-value pairs that can be used to group and search for connectors.DescribedConnector.Builder tags(Tag... tags)
Key-value pairs that can be used to group and search for connectors.
tags - Key-value pairs that can be used to group and search for connectors.DescribedConnector.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for connectors.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.