@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDeliverySourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutDeliverySourceRequest() |
Modifier and Type | Method and Description |
---|---|
PutDeliverySourceRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
PutDeliverySourceRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
PutDeliverySourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLogType()
Defines the type of log that the source is sending.
|
String |
getName()
A name for this delivery source.
|
String |
getResourceArn()
The ARN of the Amazon Web Services resource that is generating and sending logs.
|
Map<String,String> |
getTags()
An optional list of key-value pairs to associate with the resource.
|
int |
hashCode() |
void |
setLogType(String logType)
Defines the type of log that the source is sending.
|
void |
setName(String name)
A name for this delivery source.
|
void |
setResourceArn(String resourceArn)
The ARN of the Amazon Web Services resource that is generating and sending logs.
|
void |
setTags(Map<String,String> tags)
An optional list of key-value pairs to associate with the resource.
|
String |
toString()
Returns a string representation of this object.
|
PutDeliverySourceRequest |
withLogType(String logType)
Defines the type of log that the source is sending.
|
PutDeliverySourceRequest |
withName(String name)
A name for this delivery source.
|
PutDeliverySourceRequest |
withResourceArn(String resourceArn)
The ARN of the Amazon Web Services resource that is generating and sending logs.
|
PutDeliverySourceRequest |
withTags(Map<String,String> tags)
An optional list of key-value pairs to associate with the resource.
|
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 setName(String name)
A name for this delivery source. This name must be unique for all delivery sources in your account.
name
- A name for this delivery source. This name must be unique for all delivery sources in your account.public String getName()
A name for this delivery source. This name must be unique for all delivery sources in your account.
public PutDeliverySourceRequest withName(String name)
A name for this delivery source. This name must be unique for all delivery sources in your account.
name
- A name for this delivery source. This name must be unique for all delivery sources in your account.public void setResourceArn(String resourceArn)
The ARN of the Amazon Web Services resource that is generating and sending logs. For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
resourceArn
- The ARN of the Amazon Web Services resource that is generating and sending logs. For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
public String getResourceArn()
The ARN of the Amazon Web Services resource that is generating and sending logs. For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
public PutDeliverySourceRequest withResourceArn(String resourceArn)
The ARN of the Amazon Web Services resource that is generating and sending logs. For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
resourceArn
- The ARN of the Amazon Web Services resource that is generating and sending logs. For example,
arn:aws:workmail:us-east-1:123456789012:organization/m-1234EXAMPLEabcd1234abcd1234abcd1234
public void setLogType(String logType)
Defines the type of log that the source is sending.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For IAM Identity Centerr, the valid value is ERROR_LOGS
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
, AUTHENTICATION_LOGS
,
WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, and WORKMAIL_MAILBOX_ACCESS_LOGS
.
logType
- Defines the type of log that the source is sending.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For IAM Identity Centerr, the valid value is ERROR_LOGS
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
,
AUTHENTICATION_LOGS
, WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, and
WORKMAIL_MAILBOX_ACCESS_LOGS
.
public String getLogType()
Defines the type of log that the source is sending.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For IAM Identity Centerr, the valid value is ERROR_LOGS
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
, AUTHENTICATION_LOGS
,
WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, and WORKMAIL_MAILBOX_ACCESS_LOGS
.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For IAM Identity Centerr, the valid value is ERROR_LOGS
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
,
AUTHENTICATION_LOGS
, WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, and
WORKMAIL_MAILBOX_ACCESS_LOGS
.
public PutDeliverySourceRequest withLogType(String logType)
Defines the type of log that the source is sending.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For IAM Identity Centerr, the valid value is ERROR_LOGS
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
, AUTHENTICATION_LOGS
,
WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, and WORKMAIL_MAILBOX_ACCESS_LOGS
.
logType
- Defines the type of log that the source is sending.
For Amazon CodeWhisperer, the valid value is EVENT_LOGS
.
For IAM Identity Centerr, the valid value is ERROR_LOGS
.
For Amazon WorkMail, the valid values are ACCESS_CONTROL_LOGS
,
AUTHENTICATION_LOGS
, WORKMAIL_AVAILABILITY_PROVIDER_LOGS
, and
WORKMAIL_MAILBOX_ACCESS_LOGS
.
public Map<String,String> getTags()
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
For more information about tagging, see Tagging Amazon Web Services resources
public void setTags(Map<String,String> tags)
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
tags
- An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
public PutDeliverySourceRequest withTags(Map<String,String> tags)
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
tags
- An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
public PutDeliverySourceRequest addTagsEntry(String key, String value)
public PutDeliverySourceRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public PutDeliverySourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()