@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceShare extends Object implements Serializable, Cloneable, StructuredPojo
Describes a resource share.
Constructor and Description |
---|
ResourceShare() |
Modifier and Type | Method and Description |
---|---|
ResourceShare |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowExternalPrincipals()
Indicates whether principals outside your organization can be associated with a resource share.
|
Date |
getCreationTime()
The time when the resource share was created.
|
Date |
getLastUpdatedTime()
The time when the resource share was last updated.
|
String |
getName()
The name of the resource share.
|
String |
getOwningAccountId()
The ID of the AWS account that owns the resource share.
|
String |
getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
String |
getStatus()
The status of the resource share.
|
String |
getStatusMessage()
A message about the status of the resource share.
|
List<Tag> |
getTags()
The tags for the resource share.
|
int |
hashCode() |
Boolean |
isAllowExternalPrincipals()
Indicates whether principals outside your organization can be associated with a resource share.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your organization can be associated with a resource share.
|
void |
setCreationTime(Date creationTime)
The time when the resource share was created.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The time when the resource share was last updated.
|
void |
setName(String name)
The name of the resource share.
|
void |
setOwningAccountId(String owningAccountId)
The ID of the AWS account that owns the resource share.
|
void |
setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
void |
setStatus(String status)
The status of the resource share.
|
void |
setStatusMessage(String statusMessage)
A message about the status of the resource share.
|
void |
setTags(Collection<Tag> tags)
The tags for the resource share.
|
String |
toString()
Returns a string representation of this object.
|
ResourceShare |
withAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your organization can be associated with a resource share.
|
ResourceShare |
withCreationTime(Date creationTime)
The time when the resource share was created.
|
ResourceShare |
withLastUpdatedTime(Date lastUpdatedTime)
The time when the resource share was last updated.
|
ResourceShare |
withName(String name)
The name of the resource share.
|
ResourceShare |
withOwningAccountId(String owningAccountId)
The ID of the AWS account that owns the resource share.
|
ResourceShare |
withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
ResourceShare |
withStatus(ResourceShareStatus status)
The status of the resource share.
|
ResourceShare |
withStatus(String status)
The status of the resource share.
|
ResourceShare |
withStatusMessage(String statusMessage)
A message about the status of the resource share.
|
ResourceShare |
withTags(Collection<Tag> tags)
The tags for the resource share.
|
ResourceShare |
withTags(Tag... tags)
The tags for the resource share.
|
public void setResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.public String getResourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public ResourceShare withResourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.public void setName(String name)
The name of the resource share.
name
- The name of the resource share.public String getName()
The name of the resource share.
public ResourceShare withName(String name)
The name of the resource share.
name
- The name of the resource share.public void setOwningAccountId(String owningAccountId)
The ID of the AWS account that owns the resource share.
owningAccountId
- The ID of the AWS account that owns the resource share.public String getOwningAccountId()
The ID of the AWS account that owns the resource share.
public ResourceShare withOwningAccountId(String owningAccountId)
The ID of the AWS account that owns the resource share.
owningAccountId
- The ID of the AWS account that owns the resource share.public void setAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your organization can be associated with a resource share.
allowExternalPrincipals
- Indicates whether principals outside your organization can be associated with a resource share.public Boolean getAllowExternalPrincipals()
Indicates whether principals outside your organization can be associated with a resource share.
public ResourceShare withAllowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your organization can be associated with a resource share.
allowExternalPrincipals
- Indicates whether principals outside your organization can be associated with a resource share.public Boolean isAllowExternalPrincipals()
Indicates whether principals outside your organization can be associated with a resource share.
public void setStatus(String status)
The status of the resource share.
status
- The status of the resource share.ResourceShareStatus
public String getStatus()
The status of the resource share.
ResourceShareStatus
public ResourceShare withStatus(String status)
The status of the resource share.
status
- The status of the resource share.ResourceShareStatus
public ResourceShare withStatus(ResourceShareStatus status)
The status of the resource share.
status
- The status of the resource share.ResourceShareStatus
public void setStatusMessage(String statusMessage)
A message about the status of the resource share.
statusMessage
- A message about the status of the resource share.public String getStatusMessage()
A message about the status of the resource share.
public ResourceShare withStatusMessage(String statusMessage)
A message about the status of the resource share.
statusMessage
- A message about the status of the resource share.public List<Tag> getTags()
The tags for the resource share.
public void setTags(Collection<Tag> tags)
The tags for the resource share.
tags
- The tags for the resource share.public ResourceShare withTags(Tag... tags)
The tags for the resource share.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the resource share.public ResourceShare withTags(Collection<Tag> tags)
The tags for the resource share.
tags
- The tags for the resource share.public void setCreationTime(Date creationTime)
The time when the resource share was created.
creationTime
- The time when the resource share was created.public Date getCreationTime()
The time when the resource share was created.
public ResourceShare withCreationTime(Date creationTime)
The time when the resource share was created.
creationTime
- The time when the resource share was created.public void setLastUpdatedTime(Date lastUpdatedTime)
The time when the resource share was last updated.
lastUpdatedTime
- The time when the resource share was last updated.public Date getLastUpdatedTime()
The time when the resource share was last updated.
public ResourceShare withLastUpdatedTime(Date lastUpdatedTime)
The time when the resource share was last updated.
lastUpdatedTime
- The time when the resource share was last updated.public String toString()
toString
in class Object
Object.toString()
public ResourceShare clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.