public class PromptSummary
extends java.lang.Object
implements java.io.Serializable
Contains information about the prompt.
Constructor and Description |
---|
PromptSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the prompt.
|
java.lang.String |
getId()
The identifier of the prompt.
|
java.lang.String |
getName()
The name of the prompt.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the prompt.
|
void |
setId(java.lang.String id)
The identifier of the prompt.
|
void |
setName(java.lang.String name)
The name of the prompt.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PromptSummary |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the prompt.
|
PromptSummary |
withId(java.lang.String id)
The identifier of the prompt.
|
PromptSummary |
withName(java.lang.String name)
The name of the prompt.
|
public java.lang.String getId()
The identifier of the prompt.
Constraints:
Length: 1 - 256
The identifier of the prompt.
public void setId(java.lang.String id)
The identifier of the prompt.
Constraints:
Length: 1 - 256
id
- The identifier of the prompt.
public PromptSummary withId(java.lang.String id)
The identifier of the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
id
- The identifier of the prompt.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the prompt.
The Amazon Resource Name (ARN) of the prompt.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the prompt.
arn
- The Amazon Resource Name (ARN) of the prompt.
public PromptSummary withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the prompt.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the prompt.
public java.lang.String getName()
The name of the prompt.
Constraints:
Length: 1 - 256
The name of the prompt.
public void setName(java.lang.String name)
The name of the prompt.
Constraints:
Length: 1 - 256
name
- The name of the prompt.
public PromptSummary withName(java.lang.String name)
The name of the prompt.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
name
- The name of the prompt.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.