@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDiscoveredSchemaRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDiscoveredSchemaRequest() |
Modifier and Type | Method and Description |
---|---|
GetDiscoveredSchemaRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getEvents()
An array of strings where each string is a JSON event.
|
String |
getType()
The type of event.
|
int |
hashCode() |
void |
setEvents(Collection<String> events)
An array of strings where each string is a JSON event.
|
void |
setType(String type)
The type of event.
|
String |
toString()
Returns a string representation of this object.
|
GetDiscoveredSchemaRequest |
withEvents(Collection<String> events)
An array of strings where each string is a JSON event.
|
GetDiscoveredSchemaRequest |
withEvents(String... events)
An array of strings where each string is a JSON event.
|
GetDiscoveredSchemaRequest |
withType(String type)
The type of event.
|
GetDiscoveredSchemaRequest |
withType(Type type)
The type of event.
|
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> getEvents()
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
public void setEvents(Collection<String> events)
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
events
- An array of strings where each string is a JSON event. These are the events that were used to generate the
schema. The array includes a single type of event and has a maximum size of 10 events.public GetDiscoveredSchemaRequest withEvents(String... events)
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)
or withEvents(java.util.Collection)
if you want to override the
existing values.
events
- An array of strings where each string is a JSON event. These are the events that were used to generate the
schema. The array includes a single type of event and has a maximum size of 10 events.public GetDiscoveredSchemaRequest withEvents(Collection<String> events)
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
events
- An array of strings where each string is a JSON event. These are the events that were used to generate the
schema. The array includes a single type of event and has a maximum size of 10 events.public void setType(String type)
The type of event.
type
- The type of event.Type
public GetDiscoveredSchemaRequest withType(String type)
The type of event.
type
- The type of event.Type
public GetDiscoveredSchemaRequest withType(Type type)
The type of event.
type
- The type of event.Type
public String toString()
toString
in class Object
Object.toString()
public GetDiscoveredSchemaRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()