@Generated(value="software.amazon.awssdk:codegen") public final class CreateDbClusterEndpointRequest extends RdsRequest implements ToCopyableBuilder<CreateDbClusterEndpointRequest.Builder,CreateDbClusterEndpointRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateDbClusterEndpointRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateDbClusterEndpointRequest.Builder |
builder() |
String |
dbClusterEndpointIdentifier()
The identifier to use for the new endpoint.
|
String |
dbClusterIdentifier()
The DB cluster identifier of the DB cluster associated with the endpoint.
|
String |
endpointType()
The type of the endpoint, one of:
READER , WRITER , ANY . |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludedMembers()
List of DB instance identifiers that aren't part of the custom endpoint group.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludedMembers()
For responses, this returns true if the service returned a value for the ExcludedMembers property.
|
int |
hashCode() |
boolean |
hasStaticMembers()
For responses, this returns true if the service returned a value for the StaticMembers property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDbClusterEndpointRequest.Builder> |
serializableBuilderClass() |
List<String> |
staticMembers()
List of DB instance identifiers that are part of the custom endpoint group.
|
List<Tag> |
tags()
The tags to be assigned to the Amazon RDS resource.
|
CreateDbClusterEndpointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String dbClusterIdentifier()
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
public final String dbClusterEndpointIdentifier()
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
public final String endpointType()
The type of the endpoint, one of: READER
, WRITER
, ANY
.
READER
, WRITER
, ANY
.public final boolean hasStaticMembers()
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> staticMembers()
List of DB instance identifiers that are part of the custom endpoint group.
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 hasStaticMembers()
method.
public final boolean hasExcludedMembers()
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> excludedMembers()
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. This parameter is relevant only if the list of static members is empty.
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 hasExcludedMembers()
method.
public 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()
The tags to be assigned to the Amazon RDS resource.
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 CreateDbClusterEndpointRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateDbClusterEndpointRequest.Builder,CreateDbClusterEndpointRequest>
toBuilder
in class RdsRequest
public static CreateDbClusterEndpointRequest.Builder builder()
public static Class<? extends CreateDbClusterEndpointRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.