@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.
|
String |
getAccountId()
The Amazon Web Services account ID used to access your data.
|
String |
getExternalId()
The external ID of the subscriber.
|
List<SourceType> |
getSourceTypes()
The supported Amazon Web Services from which logs and events are collected.
|
String |
getSubscriberDescription()
The description for your subscriber account in Security Lake.
|
String |
getSubscriberName()
The name of your Security Lake subscriber account.
|
int |
hashCode() |
void |
setAccessTypes(Collection<String> accessTypes)
The Amazon S3 or Lake Formation access type.
|
void |
setAccountId(String accountId)
The Amazon Web Services account ID used to access your data.
|
void |
setExternalId(String externalId)
The external ID of the subscriber.
|
void |
setSourceTypes(Collection<SourceType> sourceTypes)
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 |
setSubscriberName(String subscriberName)
The name of your Security Lake subscriber account.
|
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 |
withAccountId(String accountId)
The Amazon Web Services account ID used to access your data.
|
CreateSubscriberRequest |
withExternalId(String externalId)
The external ID of the subscriber.
|
CreateSubscriberRequest |
withSourceTypes(Collection<SourceType> sourceTypes)
The supported Amazon Web Services from which logs and events are collected.
|
CreateSubscriberRequest |
withSourceTypes(SourceType... sourceTypes)
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 |
withSubscriberName(String subscriberName)
The name of your Security Lake subscriber account.
|
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 void setAccountId(String accountId)
The Amazon Web Services account ID used to access your data.
accountId
- The Amazon Web Services account ID used to access your data.public String getAccountId()
The Amazon Web Services account ID used to access your data.
public CreateSubscriberRequest withAccountId(String accountId)
The Amazon Web Services account ID used to access your data.
accountId
- The Amazon Web Services account ID used to access your data.public void setExternalId(String externalId)
The external ID of the subscriber. This lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
externalId
- The external ID of the subscriber. This lets the user that is assuming the role assert the circumstances
in which they are operating. It also provides a way for the account owner to permit the role to be assumed
only under specific circumstances.public String getExternalId()
The external ID of the subscriber. This lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
public CreateSubscriberRequest withExternalId(String externalId)
The external ID of the subscriber. This lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.
externalId
- The external ID of the subscriber. This lets the user that is assuming the role assert the circumstances
in which they are operating. It also provides a way for the account owner to permit the role to be assumed
only under specific circumstances.public List<SourceType> getSourceTypes()
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 setSourceTypes(Collection<SourceType> sourceTypes)
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.
sourceTypes
- 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 withSourceTypes(SourceType... sourceTypes)
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
setSourceTypes(java.util.Collection)
or withSourceTypes(java.util.Collection)
if you want to
override the existing values.
sourceTypes
- 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 withSourceTypes(Collection<SourceType> sourceTypes)
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.
sourceTypes
- 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 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 String toString()
toString
in class Object
Object.toString()
public CreateSubscriberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()