@Generated(value="software.amazon.awssdk:codegen") public final class CreateTopicRequest extends SnsRequest implements ToCopyableBuilder<CreateTopicRequest.Builder,CreateTopicRequest>
Input for CreateTopic action.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateTopicRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateTopicRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the topic you want to create.
|
static Class<? extends CreateTopicRequest.Builder> |
serializableBuilderClass() |
CreateTopicRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String name()
The name of the topic you want to create.
Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.
Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long.
public CreateTopicRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateTopicRequest.Builder,CreateTopicRequest>
toBuilder
in class SnsRequest
public static CreateTopicRequest.Builder builder()
public static Class<? extends CreateTopicRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2018. All rights reserved.