@Generated(value="software.amazon.awssdk:codegen") public final class CreateArchiveRequest extends CloudWatchEventsRequest implements ToCopyableBuilder<CreateArchiveRequest.Builder,CreateArchiveRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateArchiveRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
archiveName()
The name for the archive to create.
|
static CreateArchiveRequest.Builder |
builder() |
String |
description()
A description for the archive.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventPattern()
An event pattern to use to filter events sent to the archive.
|
String |
eventSourceArn()
The ARN of the event source associated with the archive.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
retentionDays()
The number of days to retain events for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateArchiveRequest.Builder> |
serializableBuilderClass() |
CreateArchiveRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String archiveName()
The name for the archive to create.
public String eventSourceArn()
The ARN of the event source associated with the archive.
public String description()
A description for the archive.
public String eventPattern()
An event pattern to use to filter events sent to the archive.
public Integer retentionDays()
The number of days to retain events for. Default value is 0. If set to 0, events are retained indefinitely
public CreateArchiveRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateArchiveRequest.Builder,CreateArchiveRequest>toBuilder in class CloudWatchEventsRequestpublic static CreateArchiveRequest.Builder builder()
public static Class<? extends CreateArchiveRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.