@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationTagResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of the application tag that's applied to a resource.
Constructor and Description |
---|
ApplicationTagResult() |
Modifier and Type | Method and Description |
---|---|
ApplicationTagResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationTagStatus()
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or
failed to apply to a resource.
|
String |
getErrorMessage()
The message returned if the call fails.
|
String |
getNextToken()
A unique pagination token for each page of results.
|
List<ResourcesListItem> |
getResources()
The resources associated with an application
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationTagStatus(String applicationTagStatus)
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or
failed to apply to a resource.
|
void |
setErrorMessage(String errorMessage)
The message returned if the call fails.
|
void |
setNextToken(String nextToken)
A unique pagination token for each page of results.
|
void |
setResources(Collection<ResourcesListItem> resources)
The resources associated with an application
|
String |
toString()
Returns a string representation of this object.
|
ApplicationTagResult |
withApplicationTagStatus(ApplicationTagStatus applicationTagStatus)
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or
failed to apply to a resource.
|
ApplicationTagResult |
withApplicationTagStatus(String applicationTagStatus)
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or
failed to apply to a resource.
|
ApplicationTagResult |
withErrorMessage(String errorMessage)
The message returned if the call fails.
|
ApplicationTagResult |
withNextToken(String nextToken)
A unique pagination token for each page of results.
|
ApplicationTagResult |
withResources(Collection<ResourcesListItem> resources)
The resources associated with an application
|
ApplicationTagResult |
withResources(ResourcesListItem... resources)
The resources associated with an application
|
public void setApplicationTagStatus(String applicationTagStatus)
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or failed to apply to a resource.
applicationTagStatus
- The application tag is in the process of being applied to a resource, was successfully applied to a
resource, or failed to apply to a resource.ApplicationTagStatus
public String getApplicationTagStatus()
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or failed to apply to a resource.
ApplicationTagStatus
public ApplicationTagResult withApplicationTagStatus(String applicationTagStatus)
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or failed to apply to a resource.
applicationTagStatus
- The application tag is in the process of being applied to a resource, was successfully applied to a
resource, or failed to apply to a resource.ApplicationTagStatus
public ApplicationTagResult withApplicationTagStatus(ApplicationTagStatus applicationTagStatus)
The application tag is in the process of being applied to a resource, was successfully applied to a resource, or failed to apply to a resource.
applicationTagStatus
- The application tag is in the process of being applied to a resource, was successfully applied to a
resource, or failed to apply to a resource.ApplicationTagStatus
public void setErrorMessage(String errorMessage)
The message returned if the call fails.
errorMessage
- The message returned if the call fails.public String getErrorMessage()
The message returned if the call fails.
public ApplicationTagResult withErrorMessage(String errorMessage)
The message returned if the call fails.
errorMessage
- The message returned if the call fails.public List<ResourcesListItem> getResources()
The resources associated with an application
public void setResources(Collection<ResourcesListItem> resources)
The resources associated with an application
resources
- The resources associated with an applicationpublic ApplicationTagResult withResources(ResourcesListItem... resources)
The resources associated with an application
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The resources associated with an applicationpublic ApplicationTagResult withResources(Collection<ResourcesListItem> resources)
The resources associated with an application
resources
- The resources associated with an applicationpublic void setNextToken(String nextToken)
A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
nextToken
- A unique pagination token for each page of results. Make the call again with the returned token to
retrieve the next page of results.public String getNextToken()
A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
public ApplicationTagResult withNextToken(String nextToken)
A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.
nextToken
- A unique pagination token for each page of results. Make the call again with the returned token to
retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ApplicationTagResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.