@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCollectionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about the created OpenSearch Serverless collection.
Constructor and Description |
---|
CreateCollectionDetail() |
Modifier and Type | Method and Description |
---|---|
CreateCollectionDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the collection.
|
Long |
getCreatedDate()
The Epoch time when the collection was created.
|
String |
getDescription()
A description of the collection.
|
String |
getId()
The unique identifier of the collection.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
|
Long |
getLastModifiedDate()
The date and time when the collection was last modified.
|
String |
getName()
The name of the collection.
|
String |
getStandbyReplicas()
Creates details about an OpenSearch Serverless collection.
|
String |
getStatus()
The current status of the collection.
|
String |
getType()
The type of collection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the collection.
|
void |
setCreatedDate(Long createdDate)
The Epoch time when the collection was created.
|
void |
setDescription(String description)
A description of the collection.
|
void |
setId(String id)
The unique identifier of the collection.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
|
void |
setName(String name)
The name of the collection.
|
void |
setStandbyReplicas(String standbyReplicas)
Creates details about an OpenSearch Serverless collection.
|
void |
setStatus(String status)
The current status of the collection.
|
void |
setType(String type)
The type of collection.
|
String |
toString()
Returns a string representation of this object.
|
CreateCollectionDetail |
withArn(String arn)
The Amazon Resource Name (ARN) of the collection.
|
CreateCollectionDetail |
withCreatedDate(Long createdDate)
The Epoch time when the collection was created.
|
CreateCollectionDetail |
withDescription(String description)
A description of the collection.
|
CreateCollectionDetail |
withId(String id)
The unique identifier of the collection.
|
CreateCollectionDetail |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
|
CreateCollectionDetail |
withLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
|
CreateCollectionDetail |
withName(String name)
The name of the collection.
|
CreateCollectionDetail |
withStandbyReplicas(StandbyReplicas standbyReplicas)
Creates details about an OpenSearch Serverless collection.
|
CreateCollectionDetail |
withStandbyReplicas(String standbyReplicas)
Creates details about an OpenSearch Serverless collection.
|
CreateCollectionDetail |
withStatus(CollectionStatus status)
The current status of the collection.
|
CreateCollectionDetail |
withStatus(String status)
The current status of the collection.
|
CreateCollectionDetail |
withType(CollectionType type)
The type of collection.
|
CreateCollectionDetail |
withType(String type)
The type of collection.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the collection.
arn
- The Amazon Resource Name (ARN) of the collection.public String getArn()
The Amazon Resource Name (ARN) of the collection.
public CreateCollectionDetail withArn(String arn)
The Amazon Resource Name (ARN) of the collection.
arn
- The Amazon Resource Name (ARN) of the collection.public void setCreatedDate(Long createdDate)
The Epoch time when the collection was created.
createdDate
- The Epoch time when the collection was created.public Long getCreatedDate()
The Epoch time when the collection was created.
public CreateCollectionDetail withCreatedDate(Long createdDate)
The Epoch time when the collection was created.
createdDate
- The Epoch time when the collection was created.public void setDescription(String description)
A description of the collection.
description
- A description of the collection.public String getDescription()
A description of the collection.
public CreateCollectionDetail withDescription(String description)
A description of the collection.
description
- A description of the collection.public void setId(String id)
The unique identifier of the collection.
id
- The unique identifier of the collection.public String getId()
The unique identifier of the collection.
public CreateCollectionDetail withId(String id)
The unique identifier of the collection.
id
- The unique identifier of the collection.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
public CreateCollectionDetail withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.public void setLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
lastModifiedDate
- The date and time when the collection was last modified.public Long getLastModifiedDate()
The date and time when the collection was last modified.
public CreateCollectionDetail withLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
lastModifiedDate
- The date and time when the collection was last modified.public void setName(String name)
The name of the collection.
name
- The name of the collection.public String getName()
The name of the collection.
public CreateCollectionDetail withName(String name)
The name of the collection.
name
- The name of the collection.public void setStandbyReplicas(String standbyReplicas)
Creates details about an OpenSearch Serverless collection.
standbyReplicas
- Creates details about an OpenSearch Serverless collection.StandbyReplicas
public String getStandbyReplicas()
Creates details about an OpenSearch Serverless collection.
StandbyReplicas
public CreateCollectionDetail withStandbyReplicas(String standbyReplicas)
Creates details about an OpenSearch Serverless collection.
standbyReplicas
- Creates details about an OpenSearch Serverless collection.StandbyReplicas
public CreateCollectionDetail withStandbyReplicas(StandbyReplicas standbyReplicas)
Creates details about an OpenSearch Serverless collection.
standbyReplicas
- Creates details about an OpenSearch Serverless collection.StandbyReplicas
public void setStatus(String status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public String getStatus()
The current status of the collection.
CollectionStatus
public CreateCollectionDetail withStatus(String status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public CreateCollectionDetail withStatus(CollectionStatus status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public void setType(String type)
The type of collection.
type
- The type of collection.CollectionType
public String getType()
The type of collection.
CollectionType
public CreateCollectionDetail withType(String type)
The type of collection.
type
- The type of collection.CollectionType
public CreateCollectionDetail withType(CollectionType type)
The type of collection.
type
- The type of collection.CollectionType
public String toString()
toString
in class Object
Object.toString()
public CreateCollectionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.