@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtectedQuerySummary extends Object implements Serializable, Cloneable, StructuredPojo
The protected query summary for the objects listed by the request.
Constructor and Description |
---|
ProtectedQuerySummary() |
Modifier and Type | Method and Description |
---|---|
ProtectedQuerySummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The time the protected query was created.
|
String |
getId()
The unique ID of the protected query.
|
String |
getMembershipArn()
The unique ARN for the membership that initiated the protected query.
|
String |
getMembershipId()
The unique ID for the membership that initiated the protected query.
|
List<ReceiverConfiguration> |
getReceiverConfigurations()
The receiver configuration.
|
String |
getStatus()
The status of the protected query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Date createTime)
The time the protected query was created.
|
void |
setId(String id)
The unique ID of the protected query.
|
void |
setMembershipArn(String membershipArn)
The unique ARN for the membership that initiated the protected query.
|
void |
setMembershipId(String membershipId)
The unique ID for the membership that initiated the protected query.
|
void |
setReceiverConfigurations(Collection<ReceiverConfiguration> receiverConfigurations)
The receiver configuration.
|
void |
setStatus(String status)
The status of the protected query.
|
String |
toString()
Returns a string representation of this object.
|
ProtectedQuerySummary |
withCreateTime(Date createTime)
The time the protected query was created.
|
ProtectedQuerySummary |
withId(String id)
The unique ID of the protected query.
|
ProtectedQuerySummary |
withMembershipArn(String membershipArn)
The unique ARN for the membership that initiated the protected query.
|
ProtectedQuerySummary |
withMembershipId(String membershipId)
The unique ID for the membership that initiated the protected query.
|
ProtectedQuerySummary |
withReceiverConfigurations(Collection<ReceiverConfiguration> receiverConfigurations)
The receiver configuration.
|
ProtectedQuerySummary |
withReceiverConfigurations(ReceiverConfiguration... receiverConfigurations)
The receiver configuration.
|
ProtectedQuerySummary |
withStatus(ProtectedQueryStatus status)
The status of the protected query.
|
ProtectedQuerySummary |
withStatus(String status)
The status of the protected query.
|
public void setId(String id)
The unique ID of the protected query.
id
- The unique ID of the protected query.public String getId()
The unique ID of the protected query.
public ProtectedQuerySummary withId(String id)
The unique ID of the protected query.
id
- The unique ID of the protected query.public void setMembershipId(String membershipId)
The unique ID for the membership that initiated the protected query.
membershipId
- The unique ID for the membership that initiated the protected query.public String getMembershipId()
The unique ID for the membership that initiated the protected query.
public ProtectedQuerySummary withMembershipId(String membershipId)
The unique ID for the membership that initiated the protected query.
membershipId
- The unique ID for the membership that initiated the protected query.public void setMembershipArn(String membershipArn)
The unique ARN for the membership that initiated the protected query.
membershipArn
- The unique ARN for the membership that initiated the protected query.public String getMembershipArn()
The unique ARN for the membership that initiated the protected query.
public ProtectedQuerySummary withMembershipArn(String membershipArn)
The unique ARN for the membership that initiated the protected query.
membershipArn
- The unique ARN for the membership that initiated the protected query.public void setCreateTime(Date createTime)
The time the protected query was created.
createTime
- The time the protected query was created.public Date getCreateTime()
The time the protected query was created.
public ProtectedQuerySummary withCreateTime(Date createTime)
The time the protected query was created.
createTime
- The time the protected query was created.public void setStatus(String status)
The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.
status
- The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`,
`FAILED`, `SUCCESS`, `TIMED_OUT`.ProtectedQueryStatus
public String getStatus()
The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.
ProtectedQueryStatus
public ProtectedQuerySummary withStatus(String status)
The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.
status
- The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`,
`FAILED`, `SUCCESS`, `TIMED_OUT`.ProtectedQueryStatus
public ProtectedQuerySummary withStatus(ProtectedQueryStatus status)
The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`, `FAILED`, `SUCCESS`, `TIMED_OUT`.
status
- The status of the protected query. Value values are `SUBMITTED`, `STARTED`, `CANCELLED`, `CANCELLING`,
`FAILED`, `SUCCESS`, `TIMED_OUT`.ProtectedQueryStatus
public List<ReceiverConfiguration> getReceiverConfigurations()
The receiver configuration.
public void setReceiverConfigurations(Collection<ReceiverConfiguration> receiverConfigurations)
The receiver configuration.
receiverConfigurations
- The receiver configuration.public ProtectedQuerySummary withReceiverConfigurations(ReceiverConfiguration... receiverConfigurations)
The receiver configuration.
NOTE: This method appends the values to the existing list (if any). Use
setReceiverConfigurations(java.util.Collection)
or
withReceiverConfigurations(java.util.Collection)
if you want to override the existing values.
receiverConfigurations
- The receiver configuration.public ProtectedQuerySummary withReceiverConfigurations(Collection<ReceiverConfiguration> receiverConfigurations)
The receiver configuration.
receiverConfigurations
- The receiver configuration.public String toString()
toString
in class Object
Object.toString()
public ProtectedQuerySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.