@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.ResourceType
public String getResourceType()
Provides information about the Service Catalog App Registry resource type.
ResourceType
public 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.ResourceType
public 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.ResourceType
public 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.
AssociationOption
public void setOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public 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.AssociationOption
public ResourceInfo withOptions(Collection<String> options)
Determines whether an application tag is applied or skipped.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public ResourceInfo withOptions(AssociationOption... options)
Determines whether an application tag is applied or skipped.
options
- Determines whether an application tag is applied or skipped.AssociationOption
public String toString()
toString
in class Object
Object.toString()
public ResourceInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.