@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BaselineOperation extends Object implements Serializable, Cloneable, StructuredPojo
An object of shape BaselineOperation
, returning details about the specified Baseline
operation ID.
Constructor and Description |
---|
BaselineOperation() |
Modifier and Type | Method and Description |
---|---|
BaselineOperation |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the operation (if applicable), in ISO 8601 format.
|
String |
getOperationIdentifier()
The identifier of the specified operation.
|
String |
getOperationType()
An enumerated type (
enum ) with possible values of ENABLE_BASELINE ,
DISABLE_BASELINE , UPDATE_ENABLED_BASELINE , or RESET_ENABLED_BASELINE . |
Date |
getStartTime()
The start time of the operation, in ISO 8601 format.
|
String |
getStatus()
An enumerated type (
enum ) with possible values of SUCCEEDED , FAILED , or
IN_PROGRESS . |
String |
getStatusMessage()
A status message that gives more information about the operation's status, if applicable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The end time of the operation (if applicable), in ISO 8601 format.
|
void |
setOperationIdentifier(String operationIdentifier)
The identifier of the specified operation.
|
void |
setOperationType(String operationType)
An enumerated type (
enum ) with possible values of ENABLE_BASELINE ,
DISABLE_BASELINE , UPDATE_ENABLED_BASELINE , or RESET_ENABLED_BASELINE . |
void |
setStartTime(Date startTime)
The start time of the operation, in ISO 8601 format.
|
void |
setStatus(String status)
An enumerated type (
enum ) with possible values of SUCCEEDED , FAILED , or
IN_PROGRESS . |
void |
setStatusMessage(String statusMessage)
A status message that gives more information about the operation's status, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
BaselineOperation |
withEndTime(Date endTime)
The end time of the operation (if applicable), in ISO 8601 format.
|
BaselineOperation |
withOperationIdentifier(String operationIdentifier)
The identifier of the specified operation.
|
BaselineOperation |
withOperationType(BaselineOperationType operationType)
An enumerated type (
enum ) with possible values of ENABLE_BASELINE ,
DISABLE_BASELINE , UPDATE_ENABLED_BASELINE , or RESET_ENABLED_BASELINE . |
BaselineOperation |
withOperationType(String operationType)
An enumerated type (
enum ) with possible values of ENABLE_BASELINE ,
DISABLE_BASELINE , UPDATE_ENABLED_BASELINE , or RESET_ENABLED_BASELINE . |
BaselineOperation |
withStartTime(Date startTime)
The start time of the operation, in ISO 8601 format.
|
BaselineOperation |
withStatus(BaselineOperationStatus status)
An enumerated type (
enum ) with possible values of SUCCEEDED , FAILED , or
IN_PROGRESS . |
BaselineOperation |
withStatus(String status)
An enumerated type (
enum ) with possible values of SUCCEEDED , FAILED , or
IN_PROGRESS . |
BaselineOperation |
withStatusMessage(String statusMessage)
A status message that gives more information about the operation's status, if applicable.
|
public void setEndTime(Date endTime)
The end time of the operation (if applicable), in ISO 8601 format.
endTime
- The end time of the operation (if applicable), in ISO 8601 format.public Date getEndTime()
The end time of the operation (if applicable), in ISO 8601 format.
public BaselineOperation withEndTime(Date endTime)
The end time of the operation (if applicable), in ISO 8601 format.
endTime
- The end time of the operation (if applicable), in ISO 8601 format.public void setOperationIdentifier(String operationIdentifier)
The identifier of the specified operation.
operationIdentifier
- The identifier of the specified operation.public String getOperationIdentifier()
The identifier of the specified operation.
public BaselineOperation withOperationIdentifier(String operationIdentifier)
The identifier of the specified operation.
operationIdentifier
- The identifier of the specified operation.public void setOperationType(String operationType)
An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or RESET_ENABLED_BASELINE
.
operationType
- An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or
RESET_ENABLED_BASELINE
.BaselineOperationType
public String getOperationType()
An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or RESET_ENABLED_BASELINE
.
enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or
RESET_ENABLED_BASELINE
.BaselineOperationType
public BaselineOperation withOperationType(String operationType)
An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or RESET_ENABLED_BASELINE
.
operationType
- An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or
RESET_ENABLED_BASELINE
.BaselineOperationType
public BaselineOperation withOperationType(BaselineOperationType operationType)
An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or RESET_ENABLED_BASELINE
.
operationType
- An enumerated type (enum
) with possible values of ENABLE_BASELINE
,
DISABLE_BASELINE
, UPDATE_ENABLED_BASELINE
, or
RESET_ENABLED_BASELINE
.BaselineOperationType
public void setStartTime(Date startTime)
The start time of the operation, in ISO 8601 format.
startTime
- The start time of the operation, in ISO 8601 format.public Date getStartTime()
The start time of the operation, in ISO 8601 format.
public BaselineOperation withStartTime(Date startTime)
The start time of the operation, in ISO 8601 format.
startTime
- The start time of the operation, in ISO 8601 format.public void setStatus(String status)
An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or
IN_PROGRESS
.
status
- An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or IN_PROGRESS
.BaselineOperationStatus
public String getStatus()
An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or
IN_PROGRESS
.
enum
) with possible values of SUCCEEDED
,
FAILED
, or IN_PROGRESS
.BaselineOperationStatus
public BaselineOperation withStatus(String status)
An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or
IN_PROGRESS
.
status
- An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or IN_PROGRESS
.BaselineOperationStatus
public BaselineOperation withStatus(BaselineOperationStatus status)
An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or
IN_PROGRESS
.
status
- An enumerated type (enum
) with possible values of SUCCEEDED
, FAILED
, or IN_PROGRESS
.BaselineOperationStatus
public void setStatusMessage(String statusMessage)
A status message that gives more information about the operation's status, if applicable.
statusMessage
- A status message that gives more information about the operation's status, if applicable.public String getStatusMessage()
A status message that gives more information about the operation's status, if applicable.
public BaselineOperation withStatusMessage(String statusMessage)
A status message that gives more information about the operation's status, if applicable.
statusMessage
- A status message that gives more information about the operation's status, if applicable.public String toString()
toString
in class Object
Object.toString()
public BaselineOperation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.