@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSubscriberRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSubscriberRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSubscriberRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getExternalId()
The external ID of the Security Lake account.
|
String |
getId()
A value created by Security Lake that uniquely identifies your subscription.
|
List<SourceType> |
getSourceTypes()
The supported Amazon Web Services from which logs and events are collected.
|
String |
getSubscriberDescription()
The description of the Security Lake account subscriber.
|
String |
getSubscriberName()
The name of the Security Lake account subscriber.
|
int |
hashCode() |
void |
setExternalId(String externalId)
The external ID of the Security Lake account.
|
void |
setId(String id)
A value created by Security Lake that uniquely identifies your subscription.
|
void |
setSourceTypes(Collection<SourceType> sourceTypes)
The supported Amazon Web Services from which logs and events are collected.
|
void |
setSubscriberDescription(String subscriberDescription)
The description of the Security Lake account subscriber.
|
void |
setSubscriberName(String subscriberName)
The name of the Security Lake account subscriber.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSubscriberRequest |
withExternalId(String externalId)
The external ID of the Security Lake account.
|
UpdateSubscriberRequest |
withId(String id)
A value created by Security Lake that uniquely identifies your subscription.
|
UpdateSubscriberRequest |
withSourceTypes(Collection<SourceType> sourceTypes)
The supported Amazon Web Services from which logs and events are collected.
|
UpdateSubscriberRequest |
withSourceTypes(SourceType... sourceTypes)
The supported Amazon Web Services from which logs and events are collected.
|
UpdateSubscriberRequest |
withSubscriberDescription(String subscriberDescription)
The description of the Security Lake account subscriber.
|
UpdateSubscriberRequest |
withSubscriberName(String subscriberName)
The name of the Security Lake account 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 void setExternalId(String externalId)
The external ID of the Security Lake account.
externalId
- The external ID of the Security Lake account.public String getExternalId()
The external ID of the Security Lake account.
public UpdateSubscriberRequest withExternalId(String externalId)
The external ID of the Security Lake account.
externalId
- The external ID of the Security Lake account.public void setId(String id)
A value created by Security Lake that uniquely identifies your subscription.
id
- A value created by Security Lake that uniquely identifies your subscription.public String getId()
A value created by Security Lake that uniquely identifies your subscription.
public UpdateSubscriberRequest withId(String id)
A value created by Security Lake that uniquely identifies your subscription.
id
- A value created by Security Lake that uniquely identifies your subscription.public List<SourceType> getSourceTypes()
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
public void setSourceTypes(Collection<SourceType> sourceTypes)
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
sourceTypes
- The supported Amazon Web Services from which logs and events are collected. For the list of supported
Amazon Web Services, see the Amazon Security
Lake User Guide.public UpdateSubscriberRequest withSourceTypes(SourceType... sourceTypes)
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
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. For the list of supported
Amazon Web Services, see the Amazon Security
Lake User Guide.public UpdateSubscriberRequest withSourceTypes(Collection<SourceType> sourceTypes)
The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
sourceTypes
- The supported Amazon Web Services from which logs and events are collected. For the list of supported
Amazon Web Services, see the Amazon Security
Lake User Guide.public void setSubscriberDescription(String subscriberDescription)
The description of the Security Lake account subscriber.
subscriberDescription
- The description of the Security Lake account subscriber.public String getSubscriberDescription()
The description of the Security Lake account subscriber.
public UpdateSubscriberRequest withSubscriberDescription(String subscriberDescription)
The description of the Security Lake account subscriber.
subscriberDescription
- The description of the Security Lake account subscriber.public void setSubscriberName(String subscriberName)
The name of the Security Lake account subscriber.
subscriberName
- The name of the Security Lake account subscriber.public String getSubscriberName()
The name of the Security Lake account subscriber.
public UpdateSubscriberRequest withSubscriberName(String subscriberName)
The name of the Security Lake account subscriber.
subscriberName
- The name of the Security Lake account subscriber.public String toString()
toString
in class Object
Object.toString()
public UpdateSubscriberRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()