@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNamespacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNamespacesResult() |
Modifier and Type | Method and Description |
---|---|
ListNamespacesResult |
clone() |
boolean |
equals(Object obj) |
List<NamespaceInfoV2> |
getNamespaces()
The information about the namespaces in this AWS account.
|
String |
getNextToken()
A pagination token that can be used in a subsequent request.
|
String |
getRequestId()
The AWS request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setNamespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this AWS account.
|
void |
setNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
|
void |
setRequestId(String requestId)
The AWS request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
ListNamespacesResult |
withNamespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this AWS account.
|
ListNamespacesResult |
withNamespaces(NamespaceInfoV2... namespaces)
The information about the namespaces in this AWS account.
|
ListNamespacesResult |
withNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
|
ListNamespacesResult |
withRequestId(String requestId)
The AWS request ID for this operation.
|
ListNamespacesResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NamespaceInfoV2> getNamespaces()
The information about the namespaces in this AWS account. The response includes the namespace ARN, name, AWS Region, notification email address, creation status, and identity store.
public void setNamespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this AWS account. The response includes the namespace ARN, name, AWS Region, notification email address, creation status, and identity store.
namespaces
- The information about the namespaces in this AWS account. The response includes the namespace ARN, name,
AWS Region, notification email address, creation status, and identity store.public ListNamespacesResult withNamespaces(NamespaceInfoV2... namespaces)
The information about the namespaces in this AWS account. The response includes the namespace ARN, name, AWS Region, notification email address, creation status, and identity store.
NOTE: This method appends the values to the existing list (if any). Use
setNamespaces(java.util.Collection)
or withNamespaces(java.util.Collection)
if you want to
override the existing values.
namespaces
- The information about the namespaces in this AWS account. The response includes the namespace ARN, name,
AWS Region, notification email address, creation status, and identity store.public ListNamespacesResult withNamespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this AWS account. The response includes the namespace ARN, name, AWS Region, notification email address, creation status, and identity store.
namespaces
- The information about the namespaces in this AWS account. The response includes the namespace ARN, name,
AWS Region, notification email address, creation status, and identity store.public void setNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
nextToken
- A pagination token that can be used in a subsequent request.public String getNextToken()
A pagination token that can be used in a subsequent request.
public ListNamespacesResult withNextToken(String nextToken)
A pagination token that can be used in a subsequent request.
nextToken
- A pagination token that can be used in a subsequent request.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public ListNamespacesResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListNamespacesResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public ListNamespacesResult clone()