@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceInfo extends Object implements Serializable, Cloneable, StructuredPojo
The information about the resource.
| Constructor and Description |
|---|
ResourceInfo() |
| Modifier and Type | Method and Description |
|---|---|
ResourceInfo |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon resource name (ARN) that specifies the resource across services.
|
String |
getName()
The name of the resource.
|
List<String> |
getOptions()
Determines whether an application tag is applied or skipped.
|
ResourceDetails |
getResourceDetails()
The details related to the resource.
|
String |
getResourceType()
Provides information about the Service Catalog App Registry resource type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
|
void |
setName(String name)
The name of the resource.
|
void |
setOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
|
void |
setResourceDetails(ResourceDetails resourceDetails)
The details related to the resource.
|
void |
setResourceType(String resourceType)
Provides information about the Service Catalog App Registry resource type.
|
String |
toString()
Returns a string representation of this object.
|
ResourceInfo |
withArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
|
ResourceInfo |
withName(String name)
The name of the resource.
|
ResourceInfo |
withOptions(AssociationOption... options)
Determines whether an application tag is applied or skipped.
|
ResourceInfo |
withOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
|
ResourceInfo |
withOptions(String... options)
Determines whether an application tag is applied or skipped.
|
ResourceInfo |
withResourceDetails(ResourceDetails resourceDetails)
The details related to the resource.
|
ResourceInfo |
withResourceType(ResourceType resourceType)
Provides information about the Service Catalog App Registry resource type.
|
ResourceInfo |
withResourceType(String resourceType)
Provides information about the Service Catalog App Registry resource type.
|
public void setName(String name)
The name of the resource.
name - The name of the resource.public String getName()
The name of the resource.
public ResourceInfo withName(String name)
The name of the resource.
name - The name of the resource.public void setArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
arn - The Amazon resource name (ARN) that specifies the resource across services.public String getArn()
The Amazon resource name (ARN) that specifies the resource across services.
public ResourceInfo withArn(String arn)
The Amazon resource name (ARN) that specifies the resource across services.
arn - The Amazon resource name (ARN) that specifies the resource across services.public void setResourceType(String resourceType)
Provides information about the Service Catalog App Registry resource type.
resourceType - Provides information about the Service Catalog App Registry resource type.ResourceTypepublic String getResourceType()
Provides information about the Service Catalog App Registry resource type.
ResourceTypepublic ResourceInfo withResourceType(String resourceType)
Provides information about the Service Catalog App Registry resource type.
resourceType - Provides information about the Service Catalog App Registry resource type.ResourceTypepublic ResourceInfo withResourceType(ResourceType resourceType)
Provides information about the Service Catalog App Registry resource type.
resourceType - Provides information about the Service Catalog App Registry resource type.ResourceTypepublic void setResourceDetails(ResourceDetails resourceDetails)
The details related to the resource.
resourceDetails - The details related to the resource.public ResourceDetails getResourceDetails()
The details related to the resource.
public ResourceInfo withResourceDetails(ResourceDetails resourceDetails)
The details related to the resource.
resourceDetails - The details related to the resource.public List<String> getOptions()
Determines whether an application tag is applied or skipped.
AssociationOptionpublic void setOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
options - Determines whether an application tag is applied or skipped.AssociationOptionpublic ResourceInfo withOptions(String... options)
Determines whether an application tag is applied or skipped.
NOTE: This method appends the values to the existing list (if any). Use
setOptions(java.util.Collection) or withOptions(java.util.Collection) if you want to override
the existing values.
options - Determines whether an application tag is applied or skipped.AssociationOptionpublic ResourceInfo withOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
options - Determines whether an application tag is applied or skipped.AssociationOptionpublic ResourceInfo withOptions(AssociationOption... options)
Determines whether an application tag is applied or skipped.
options - Determines whether an application tag is applied or skipped.AssociationOptionpublic String toString()
toString in class ObjectObject.toString()public ResourceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.