public static interface UpdateConnectorRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectorRequest.Builder,UpdateConnectorRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateConnectorRequest.Builder |
accessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths. |
UpdateConnectorRequest.Builder |
as2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a connector object.
|
default UpdateConnectorRequest.Builder |
as2Config(Consumer<As2ConnectorConfig.Builder> as2Config)
A structure that contains the parameters for a connector object.
|
UpdateConnectorRequest.Builder |
connectorId(String connectorId)
The unique identifier for the connector.
|
UpdateConnectorRequest.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.
|
UpdateConnectorRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateConnectorRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateConnectorRequest.Builder |
url(String url)
The URL of the partner's AS2 endpoint.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateConnectorRequest.Builder connectorId(String connectorId)
The unique identifier for the connector.
connectorId - The unique identifier for the connector.UpdateConnectorRequest.Builder url(String url)
The URL of the partner's AS2 endpoint.
url - The URL of the partner's AS2 endpoint.UpdateConnectorRequest.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 UpdateConnectorRequest.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)UpdateConnectorRequest.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.UpdateConnectorRequest.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.UpdateConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateConnectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.