@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedConnector extends Object implements Serializable, Cloneable, StructuredPojo
Describes the parameters for the connector, as identified by the ConnectorId
.
Constructor and Description |
---|
DescribedConnector() |
Modifier and Type | Method and Description |
---|---|
DescribedConnector |
clone() |
boolean |
equals(Object obj) |
String |
getAccessRole()
Connectors are used to send files using either the AS2 or SFTP protocol.
|
String |
getArn()
The unique Amazon Resource Name (ARN) for the connector.
|
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.
|
String |
getSecurityPolicyName()
The text name of the security policy for the specified connector.
|
List<String> |
getServiceManagedEgressIpAddresses()
The list of egress IP addresses of this connector.
|
SftpConnectorConfig |
getSftpConfig()
A structure that contains the parameters for an SFTP connector object.
|
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 or SFTP endpoint.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessRole(String accessRole)
Connectors are used to send files using either the AS2 or SFTP protocol.
|
void |
setArn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
|
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 |
setSecurityPolicyName(String securityPolicyName)
The text name of the security policy for the specified connector.
|
void |
setServiceManagedEgressIpAddresses(Collection<String> serviceManagedEgressIpAddresses)
The list of egress IP addresses of this connector.
|
void |
setSftpConfig(SftpConnectorConfig sftpConfig)
A structure that contains the parameters for an SFTP connector object.
|
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 or SFTP endpoint.
|
String |
toString()
Returns a string representation of this object.
|
DescribedConnector |
withAccessRole(String accessRole)
Connectors are used to send files using either the AS2 or SFTP protocol.
|
DescribedConnector |
withArn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
|
DescribedConnector |
withAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for an AS2 connector object.
|
DescribedConnector |
withConnectorId(String connectorId)
The unique identifier for the connector.
|
DescribedConnector |
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.
|
DescribedConnector |
withSecurityPolicyName(String securityPolicyName)
The text name of the security policy for the specified connector.
|
DescribedConnector |
withServiceManagedEgressIpAddresses(Collection<String> serviceManagedEgressIpAddresses)
The list of egress IP addresses of this connector.
|
DescribedConnector |
withServiceManagedEgressIpAddresses(String... serviceManagedEgressIpAddresses)
The list of egress IP addresses of this connector.
|
DescribedConnector |
withSftpConfig(SftpConnectorConfig sftpConfig)
A structure that contains the parameters for an SFTP connector object.
|
DescribedConnector |
withTags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for connectors.
|
DescribedConnector |
withTags(Tag... tags)
Key-value pairs that can be used to group and search for connectors.
|
DescribedConnector |
withUrl(String url)
The URL of the partner's AS2 or SFTP endpoint.
|
public void setArn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
arn
- The unique Amazon Resource Name (ARN) for the connector.public String getArn()
The unique Amazon Resource Name (ARN) for the connector.
public DescribedConnector withArn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
arn
- The unique Amazon Resource Name (ARN) for the connector.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 DescribedConnector 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 DescribedConnector 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 DescribedConnector 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)
Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.
For AS2 connectors
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.
For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file location that's
used in the StartFileTransfer
request. Additionally, make sure that the role provides
secretsmanager:GetSecretValue
permission to Secrets Manager.
accessRole
- Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the
Amazon Resource Name (ARN) of the Identity and Access Management role to use.
For AS2 connectors
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.
For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file location
that's used in the StartFileTransfer
request. Additionally, make sure that the role provides
secretsmanager:GetSecretValue
permission to Secrets Manager.
public String getAccessRole()
Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.
For AS2 connectors
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.
For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file location that's
used in the StartFileTransfer
request. Additionally, make sure that the role provides
secretsmanager:GetSecretValue
permission to Secrets Manager.
For AS2 connectors
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.
For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file
location that's used in the StartFileTransfer
request. Additionally, make sure that the role
provides secretsmanager:GetSecretValue
permission to Secrets Manager.
public DescribedConnector withAccessRole(String accessRole)
Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.
For AS2 connectors
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.
For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file location that's
used in the StartFileTransfer
request. Additionally, make sure that the role provides
secretsmanager:GetSecretValue
permission to Secrets Manager.
accessRole
- Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the
Amazon Resource Name (ARN) of the Identity and Access Management role to use.
For AS2 connectors
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.
For SFTP connectors
Make sure that the access role provides read and write access to the parent directory of the file location
that's used in the StartFileTransfer
request. Additionally, make sure that the role provides
secretsmanager:GetSecretValue
permission to Secrets Manager.
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 DescribedConnector 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.
public void setTags(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.public DescribedConnector withTags(Tag... tags)
Key-value pairs that can be used to group and search for connectors.
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.public DescribedConnector withTags(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.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 DescribedConnector 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 List<String> getServiceManagedEgressIpAddresses()
The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
public void setServiceManagedEgressIpAddresses(Collection<String> serviceManagedEgressIpAddresses)
The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
serviceManagedEgressIpAddresses
- The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you
create the connector.public DescribedConnector withServiceManagedEgressIpAddresses(String... serviceManagedEgressIpAddresses)
The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
NOTE: This method appends the values to the existing list (if any). Use
setServiceManagedEgressIpAddresses(java.util.Collection)
or
withServiceManagedEgressIpAddresses(java.util.Collection)
if you want to override the existing values.
serviceManagedEgressIpAddresses
- The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you
create the connector.public DescribedConnector withServiceManagedEgressIpAddresses(Collection<String> serviceManagedEgressIpAddresses)
The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you create the connector.
serviceManagedEgressIpAddresses
- The list of egress IP addresses of this connector. These IP addresses are assigned automatically when you
create the connector.public void setSecurityPolicyName(String securityPolicyName)
The text name of the security policy for the specified connector.
securityPolicyName
- The text name of the security policy for the specified connector.public String getSecurityPolicyName()
The text name of the security policy for the specified connector.
public DescribedConnector withSecurityPolicyName(String securityPolicyName)
The text name of the security policy for the specified connector.
securityPolicyName
- The text name of the security policy for the specified connector.public String toString()
toString
in class Object
Object.toString()
public DescribedConnector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.