@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
DescribeResourceResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
DescribeResourceResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
BookingOptions | 
getBookingOptions()
 The booking options for the described resource. 
 | 
String | 
getDescription()
 Description of the resource. 
 | 
Date | 
getDisabledDate()
 The date and time when a resource was disabled from WorkMail, in UNIX epoch time format. 
 | 
String | 
getEmail()
 The email of the described resource. 
 | 
Date | 
getEnabledDate()
 The date and time when a resource was enabled for WorkMail, in UNIX epoch time format. 
 | 
Boolean | 
getHiddenFromGlobalAddressList()
 If enabled, the resource is hidden from the global address list. 
 | 
String | 
getName()
 The name of the described resource. 
 | 
String | 
getResourceId()
 The identifier of the described resource. 
 | 
String | 
getState()
 The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
 WorkMail), or deleted. 
 | 
String | 
getType()
 The type of the described resource. 
 | 
int | 
hashCode()  | 
Boolean | 
isHiddenFromGlobalAddressList()
 If enabled, the resource is hidden from the global address list. 
 | 
void | 
setBookingOptions(BookingOptions bookingOptions)
 The booking options for the described resource. 
 | 
void | 
setDescription(String description)
 Description of the resource. 
 | 
void | 
setDisabledDate(Date disabledDate)
 The date and time when a resource was disabled from WorkMail, in UNIX epoch time format. 
 | 
void | 
setEmail(String email)
 The email of the described resource. 
 | 
void | 
setEnabledDate(Date enabledDate)
 The date and time when a resource was enabled for WorkMail, in UNIX epoch time format. 
 | 
void | 
setHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
 If enabled, the resource is hidden from the global address list. 
 | 
void | 
setName(String name)
 The name of the described resource. 
 | 
void | 
setResourceId(String resourceId)
 The identifier of the described resource. 
 | 
void | 
setState(String state)
 The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
 WorkMail), or deleted. 
 | 
void | 
setType(String type)
 The type of the described resource. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
DescribeResourceResult | 
withBookingOptions(BookingOptions bookingOptions)
 The booking options for the described resource. 
 | 
DescribeResourceResult | 
withDescription(String description)
 Description of the resource. 
 | 
DescribeResourceResult | 
withDisabledDate(Date disabledDate)
 The date and time when a resource was disabled from WorkMail, in UNIX epoch time format. 
 | 
DescribeResourceResult | 
withEmail(String email)
 The email of the described resource. 
 | 
DescribeResourceResult | 
withEnabledDate(Date enabledDate)
 The date and time when a resource was enabled for WorkMail, in UNIX epoch time format. 
 | 
DescribeResourceResult | 
withHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
 If enabled, the resource is hidden from the global address list. 
 | 
DescribeResourceResult | 
withName(String name)
 The name of the described resource. 
 | 
DescribeResourceResult | 
withResourceId(String resourceId)
 The identifier of the described resource. 
 | 
DescribeResourceResult | 
withState(EntityState state)
 The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
 WorkMail), or deleted. 
 | 
DescribeResourceResult | 
withState(String state)
 The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
 WorkMail), or deleted. 
 | 
DescribeResourceResult | 
withType(ResourceType type)
 The type of the described resource. 
 | 
DescribeResourceResult | 
withType(String type)
 The type of the described resource. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setResourceId(String resourceId)
The identifier of the described resource.
resourceId - The identifier of the described resource.public String getResourceId()
The identifier of the described resource.
public DescribeResourceResult withResourceId(String resourceId)
The identifier of the described resource.
resourceId - The identifier of the described resource.public void setEmail(String email)
The email of the described resource.
email - The email of the described resource.public String getEmail()
The email of the described resource.
public DescribeResourceResult withEmail(String email)
The email of the described resource.
email - The email of the described resource.public void setName(String name)
The name of the described resource.
name - The name of the described resource.public String getName()
The name of the described resource.
public DescribeResourceResult withName(String name)
The name of the described resource.
name - The name of the described resource.public void setType(String type)
The type of the described resource.
type - The type of the described resource.ResourceTypepublic String getType()
The type of the described resource.
ResourceTypepublic DescribeResourceResult withType(String type)
The type of the described resource.
type - The type of the described resource.ResourceTypepublic DescribeResourceResult withType(ResourceType type)
The type of the described resource.
type - The type of the described resource.ResourceTypepublic void setBookingOptions(BookingOptions bookingOptions)
The booking options for the described resource.
bookingOptions - The booking options for the described resource.public BookingOptions getBookingOptions()
The booking options for the described resource.
public DescribeResourceResult withBookingOptions(BookingOptions bookingOptions)
The booking options for the described resource.
bookingOptions - The booking options for the described resource.public void setState(String state)
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
state - The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
        WorkMail), or deleted.EntityStatepublic String getState()
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
EntityStatepublic DescribeResourceResult withState(String state)
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
state - The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
        WorkMail), or deleted.EntityStatepublic DescribeResourceResult withState(EntityState state)
The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
state - The state of the resource: enabled (registered to WorkMail), disabled (deregistered or never registered to
        WorkMail), or deleted.EntityStatepublic void setEnabledDate(Date enabledDate)
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
enabledDate - The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.public Date getEnabledDate()
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
public DescribeResourceResult withEnabledDate(Date enabledDate)
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
enabledDate - The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.public void setDisabledDate(Date disabledDate)
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
disabledDate - The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.public Date getDisabledDate()
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
public DescribeResourceResult withDisabledDate(Date disabledDate)
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
disabledDate - The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.public void setDescription(String description)
Description of the resource.
description - Description of the resource.public String getDescription()
Description of the resource.
public DescribeResourceResult withDescription(String description)
Description of the resource.
description - Description of the resource.public void setHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the resource is hidden from the global address list.
hiddenFromGlobalAddressList - If enabled, the resource is hidden from the global address list.public Boolean getHiddenFromGlobalAddressList()
If enabled, the resource is hidden from the global address list.
public DescribeResourceResult withHiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)
If enabled, the resource is hidden from the global address list.
hiddenFromGlobalAddressList - If enabled, the resource is hidden from the global address list.public Boolean isHiddenFromGlobalAddressList()
If enabled, the resource is hidden from the global address list.
public String toString()
toString in class ObjectObject.toString()public DescribeResourceResult clone()