@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateConnectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateConnectorRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateConnectorRequest |
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 an AS2 connector object.
|
String |
getConnectorId()
The unique identifier for the connector.
|
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.
|
SftpConnectorConfig |
getSftpConfig()
A structure that contains the parameters for an SFTP connector object.
|
String |
getUrl()
The URL of the partner's AS2 or SFTP 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 an AS2 connector object.
|
void |
setConnectorId(String connectorId)
The unique identifier for the connector.
|
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 |
setSftpConfig(SftpConnectorConfig sftpConfig)
A structure that contains the parameters for an SFTP connector object.
|
void |
setUrl(String url)
The URL of the partner's AS2 or SFTP endpoint.
|
String |
toString()
Returns a string representation of this object.
|
UpdateConnectorRequest |
withAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
UpdateConnectorRequest |
withAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for an AS2 connector object.
|
UpdateConnectorRequest |
withConnectorId(String connectorId)
The unique identifier for the connector.
|
UpdateConnectorRequest |
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.
|
UpdateConnectorRequest |
withSftpConfig(SftpConnectorConfig sftpConfig)
A structure that contains the parameters for an SFTP connector object.
|
UpdateConnectorRequest |
withUrl(String url)
The URL of the partner's AS2 or SFTP 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 setConnectorId(String connectorId)
The unique identifier for the connector.
connectorId
- The unique identifier for the connector.public String getConnectorId()
The unique identifier for the connector.
public UpdateConnectorRequest withConnectorId(String connectorId)
The unique identifier for the connector.
connectorId
- The unique identifier for the connector.public void setUrl(String url)
The URL of the partner's AS2 or SFTP endpoint.
url
- The URL of the partner's AS2 or SFTP endpoint.public String getUrl()
The URL of the partner's AS2 or SFTP endpoint.
public UpdateConnectorRequest withUrl(String url)
The URL of the partner's AS2 or SFTP endpoint.
url
- The URL of the partner's AS2 or SFTP endpoint.public void setAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for an AS2 connector object.
as2Config
- A structure that contains the parameters for an AS2 connector object.public As2ConnectorConfig getAs2Config()
A structure that contains the parameters for an AS2 connector object.
public UpdateConnectorRequest withAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for an AS2 connector object.
as2Config
- A structure that contains the parameters for an AS2 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
.
If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using a
customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs
the kms:Decrypt
permission for that key.
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
.
If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using a
customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
needs the kms:Decrypt
permission for that key.
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
.
If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using a
customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs
the kms:Decrypt
permission for that key.
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
.
If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using a
customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role
also needs the kms:Decrypt
permission for that key.
public UpdateConnectorRequest 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
.
If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using a
customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs
the kms:Decrypt
permission for that key.
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
.
If you are using Basic authentication for your AS2 connector, the access role requires the
secretsmanager:GetSecretValue
permission for the secret. If the secret is encrypted using a
customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also
needs the kms:Decrypt
permission for that key.
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 UpdateConnectorRequest 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 void setSftpConfig(SftpConnectorConfig sftpConfig)
A structure that contains the parameters for an SFTP connector object.
sftpConfig
- A structure that contains the parameters for an SFTP connector object.public SftpConnectorConfig getSftpConfig()
A structure that contains the parameters for an SFTP connector object.
public UpdateConnectorRequest withSftpConfig(SftpConnectorConfig sftpConfig)
A structure that contains the parameters for an SFTP connector object.
sftpConfig
- A structure that contains the parameters for an SFTP connector object.public String toString()
toString
in class Object
Object.toString()
public UpdateConnectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()