@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()
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
String |
getArn()
The unique Amazon Resource Name (ARN) for the connector.
|
As2ConnectorConfig |
getAs2Config()
A structure that contains the parameters for a 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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
void |
setArn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
|
void |
setAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a 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 |
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.
|
DescribedConnector |
withAccessRole(String accessRole)
With AS2, you can send files by calling
StartFileTransfer and specifying the file paths in the
request parameter, SendFilePaths . |
DescribedConnector |
withArn(String arn)
The unique Amazon Resource Name (ARN) for the connector.
|
DescribedConnector |
withAs2Config(As2ConnectorConfig as2Config)
A structure that contains the parameters for a 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 |
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 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 endpoint.
url
- The URL of the partner's AS2 endpoint.public String getUrl()
The URL of the partner's AS2 endpoint.
public DescribedConnector 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 DescribedConnector 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 DescribedConnector 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 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 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.