@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubscriberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSubscriberRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSubscriberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccessTypes()
The Amazon S3 or Lake Formation access type.
|
List<LogSourceResource> |
getSources()
The supported Amazon Web Services from which logs and events are collected.
|
String |
getSubscriberDescription()
The description for your subscriber account in Security Lake.
|
AwsIdentity |
getSubscriberIdentity()
The Amazon Web Services identity used to access your data.
|
String |
getSubscriberName()
The name of your Security Lake subscriber account.
|
List<Tag> |
getTags()
An array of objects, one for each tag to associate with the subscriber.
|
int |
hashCode() |
void |
setAccessTypes(Collection<String> accessTypes)
The Amazon S3 or Lake Formation access type.
|
void |
setSources(Collection<LogSourceResource> sources)
The supported Amazon Web Services from which logs and events are collected.
|
void |
setSubscriberDescription(String subscriberDescription)
The description for your subscriber account in Security Lake.
|
void |
setSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
|
void |
setSubscriberName(String subscriberName)
The name of your Security Lake subscriber account.
|
void |
setTags(Collection<Tag> tags)
An array of objects, one for each tag to associate with the subscriber.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubscriberRequest |
withAccessTypes(AccessType... accessTypes)
The Amazon S3 or Lake Formation access type.
|
CreateSubscriberRequest |
withAccessTypes(Collection<String> accessTypes)
The Amazon S3 or Lake Formation access type.
|
CreateSubscriberRequest |
withAccessTypes(String... accessTypes)
The Amazon S3 or Lake Formation access type.
|
CreateSubscriberRequest |
withSources(Collection<LogSourceResource> sources)
The supported Amazon Web Services from which logs and events are collected.
|
CreateSubscriberRequest |
withSources(LogSourceResource... sources)
The supported Amazon Web Services from which logs and events are collected.
|
CreateSubscriberRequest |
withSubscriberDescription(String subscriberDescription)
The description for your subscriber account in Security Lake.
|
CreateSubscriberRequest |
withSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
|
CreateSubscriberRequest |
withSubscriberName(String subscriberName)
The name of your Security Lake subscriber account.
|
CreateSubscriberRequest |
withTags(Collection<Tag> tags)
An array of objects, one for each tag to associate with the subscriber.
|
CreateSubscriberRequest |
withTags(Tag... tags)
An array of objects, one for each tag to associate with the subscriber.
|
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 List<String> getAccessTypes()
The Amazon S3 or Lake Formation access type.
AccessType
public void setAccessTypes(Collection<String> accessTypes)
The Amazon S3 or Lake Formation access type.
accessTypes
- The Amazon S3 or Lake Formation access type.AccessType
public CreateSubscriberRequest withAccessTypes(String... accessTypes)
The Amazon S3 or Lake Formation access type.
NOTE: This method appends the values to the existing list (if any). Use
setAccessTypes(java.util.Collection)
or withAccessTypes(java.util.Collection)
if you want to
override the existing values.
accessTypes
- The Amazon S3 or Lake Formation access type.AccessType
public CreateSubscriberRequest withAccessTypes(Collection<String> accessTypes)
The Amazon S3 or Lake Formation access type.
accessTypes
- The Amazon S3 or Lake Formation access type.AccessType
public CreateSubscriberRequest withAccessTypes(AccessType... accessTypes)
The Amazon S3 or Lake Formation access type.
accessTypes
- The Amazon S3 or Lake Formation access type.AccessType
public List<LogSourceResource> getSources()
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
public void setSources(Collection<LogSourceResource> sources)
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
sources
- The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and
event collection for natively supported Amazon Web Services.public CreateSubscriberRequest withSources(LogSourceResource... sources)
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and
event collection for natively supported Amazon Web Services.public CreateSubscriberRequest withSources(Collection<LogSourceResource> sources)
The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and event collection for natively supported Amazon Web Services.
sources
- The supported Amazon Web Services from which logs and events are collected. Security Lake supports log and
event collection for natively supported Amazon Web Services.public void setSubscriberDescription(String subscriberDescription)
The description for your subscriber account in Security Lake.
subscriberDescription
- The description for your subscriber account in Security Lake.public String getSubscriberDescription()
The description for your subscriber account in Security Lake.
public CreateSubscriberRequest withSubscriberDescription(String subscriberDescription)
The description for your subscriber account in Security Lake.
subscriberDescription
- The description for your subscriber account in Security Lake.public void setSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
subscriberIdentity
- The Amazon Web Services identity used to access your data.public AwsIdentity getSubscriberIdentity()
The Amazon Web Services identity used to access your data.
public CreateSubscriberRequest withSubscriberIdentity(AwsIdentity subscriberIdentity)
The Amazon Web Services identity used to access your data.
subscriberIdentity
- The Amazon Web Services identity used to access your data.public void setSubscriberName(String subscriberName)
The name of your Security Lake subscriber account.
subscriberName
- The name of your Security Lake subscriber account.public String getSubscriberName()
The name of your Security Lake subscriber account.
public CreateSubscriberRequest withSubscriberName(String subscriberName)
The name of your Security Lake subscriber account.
subscriberName
- The name of your Security Lake subscriber account.public List<Tag> getTags()
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
public void setTags(Collection<Tag> tags)
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
tags
- An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify
both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.public CreateSubscriberRequest withTags(Tag... tags)
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
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
- An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify
both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.public CreateSubscriberRequest withTags(Collection<Tag> tags)
An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.
tags
- An array of objects, one for each tag to associate with the subscriber. For each tag, you must specify
both a tag key and a tag value. A tag value cannot be null, but it can be an empty string.public String toString()
toString
in class Object
Object.toString()
public CreateSubscriberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()