@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.
|
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.
|
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 Amazon WorkMail), disabled (deregistered or never registered to
WorkMail), or deleted.
|
String |
getType()
The type of the described resource.
|
int |
hashCode() |
void |
setBookingOptions(BookingOptions bookingOptions)
The booking options for the described 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 |
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 Amazon 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 |
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 |
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 Amazon WorkMail), disabled (deregistered or never registered to
WorkMail), or deleted.
|
DescribeResourceResult |
withState(String state)
The state of the resource: enabled (registered to Amazon 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, setSdkResponseMetadata
public 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.ResourceType
public String getType()
The type of the described resource.
ResourceType
public DescribeResourceResult withType(String type)
The type of the described resource.
type
- The type of the described resource.ResourceType
public DescribeResourceResult withType(ResourceType type)
The type of the described resource.
type
- The type of the described resource.ResourceType
public 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 Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
state
- The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never
registered to WorkMail), or deleted.EntityState
public String getState()
The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
EntityState
public DescribeResourceResult withState(String state)
The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
state
- The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never
registered to WorkMail), or deleted.EntityState
public DescribeResourceResult withState(EntityState state)
The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
state
- The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never
registered to WorkMail), or deleted.EntityState
public 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 String toString()
toString
in class Object
Object.toString()
public DescribeResourceResult clone()