@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 Amazon Web Services account.
|
String |
getNextToken()
A unique pagination token that can be used in a subsequent request.
|
String |
getRequestId()
The Amazon Web Services 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 Amazon Web Services account.
|
void |
setNextToken(String nextToken)
A unique pagination token that can be used in a subsequent request.
|
void |
setRequestId(String requestId)
The Amazon Web Services 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 Amazon Web Services account.
|
ListNamespacesResult |
withNamespaces(NamespaceInfoV2... namespaces)
The information about the namespaces in this Amazon Web Services account.
|
ListNamespacesResult |
withNextToken(String nextToken)
A unique pagination token that can be used in a subsequent request.
|
ListNamespacesResult |
withRequestId(String requestId)
The Amazon Web Services 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 Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
public void setNamespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
namespaces
- The information about the namespaces in this Amazon Web Services account. The response includes the
namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity
store.public ListNamespacesResult withNamespaces(NamespaceInfoV2... namespaces)
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services 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 Amazon Web Services account. The response includes the
namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity
store.public ListNamespacesResult withNamespaces(Collection<NamespaceInfoV2> namespaces)
The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
namespaces
- The information about the namespaces in this Amazon Web Services account. The response includes the
namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity
store.public void setNextToken(String nextToken)
A unique pagination token that can be used in a subsequent request. Receiving NextToken
in your
response inticates that there is more data that can be returned. To receive the data, make another
ListNamespaces
API call with the returned token to retrieve the next page of data. Each token is
valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token, you will
receive a HTTP 400 InvalidNextTokenException
error.
nextToken
- A unique pagination token that can be used in a subsequent request. Receiving NextToken
in
your response inticates that there is more data that can be returned. To receive the data, make another
ListNamespaces
API call with the returned token to retrieve the next page of data. Each token
is valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token,
you will receive a HTTP 400 InvalidNextTokenException
error.public String getNextToken()
A unique pagination token that can be used in a subsequent request. Receiving NextToken
in your
response inticates that there is more data that can be returned. To receive the data, make another
ListNamespaces
API call with the returned token to retrieve the next page of data. Each token is
valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token, you will
receive a HTTP 400 InvalidNextTokenException
error.
NextToken
in
your response inticates that there is more data that can be returned. To receive the data, make another
ListNamespaces
API call with the returned token to retrieve the next page of data. Each
token is valid for 24 hours. If you try to make a ListNamespaces
API call with an expired
token, you will receive a HTTP 400 InvalidNextTokenException
error.public ListNamespacesResult withNextToken(String nextToken)
A unique pagination token that can be used in a subsequent request. Receiving NextToken
in your
response inticates that there is more data that can be returned. To receive the data, make another
ListNamespaces
API call with the returned token to retrieve the next page of data. Each token is
valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token, you will
receive a HTTP 400 InvalidNextTokenException
error.
nextToken
- A unique pagination token that can be used in a subsequent request. Receiving NextToken
in
your response inticates that there is more data that can be returned. To receive the data, make another
ListNamespaces
API call with the returned token to retrieve the next page of data. Each token
is valid for 24 hours. If you try to make a ListNamespaces
API call with an expired token,
you will receive a HTTP 400 InvalidNextTokenException
error.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public ListNamespacesResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services 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()