@Generated(value="software.amazon.awssdk:codegen") public final class PutEventTypeRequest extends FraudDetectorRequest implements ToCopyableBuilder<PutEventTypeRequest.Builder,PutEventTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutEventTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutEventTypeRequest.Builder |
builder() |
String |
description()
The description of the event type.
|
List<String> |
entityTypes()
The entity type for the event type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
EventIngestion |
eventIngestion()
Specifies if ingestion is enabled or disabled.
|
String |
eventIngestionAsString()
Specifies if ingestion is enabled or disabled.
|
EventOrchestration |
eventOrchestration()
Enables or disables event orchestration.
|
List<String> |
eventVariables()
The event type variables.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEntityTypes()
For responses, this returns true if the service returned a value for the EntityTypes property.
|
boolean |
hasEventVariables()
For responses, this returns true if the service returned a value for the EventVariables property.
|
int |
hashCode() |
boolean |
hasLabels()
For responses, this returns true if the service returned a value for the Labels property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
List<String> |
labels()
The event type labels.
|
String |
name()
The name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutEventTypeRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
A collection of key and value pairs.
|
PutEventTypeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name.
public final String description()
The description of the event type.
public final boolean hasEventVariables()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> eventVariables()
The event type variables.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEventVariables() method.
public final boolean hasLabels()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> labels()
The event type labels.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLabels() method.
public final boolean hasEntityTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> entityTypes()
The entity type for the event type. Example entity types: customer, merchant, account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEntityTypes() method.
public final EventIngestion eventIngestion()
Specifies if ingestion is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version, eventIngestion
will return EventIngestion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from eventIngestionAsString().
EventIngestionpublic final String eventIngestionAsString()
Specifies if ingestion is enabled or disabled.
If the service returns an enum value that is not available in the current SDK version, eventIngestion
will return EventIngestion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from eventIngestionAsString().
EventIngestionpublic final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
A collection of key and value pairs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final EventOrchestration eventOrchestration()
Enables or disables event orchestration. If enabled, you can send event predictions to select AWS services for downstream processing of the events.
public PutEventTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutEventTypeRequest.Builder,PutEventTypeRequest>toBuilder in class FraudDetectorRequestpublic static PutEventTypeRequest.Builder builder()
public static Class<? extends PutEventTypeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.