@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FpgaImageState extends Object implements Serializable, Cloneable
Describes the state of the bitstream generation process for an Amazon FPGA image (AFI).
Constructor and Description |
---|
FpgaImageState() |
Modifier and Type | Method and Description |
---|---|
FpgaImageState |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The state.
|
String |
getMessage()
If the state is
failed , this is the error message. |
int |
hashCode() |
void |
setCode(FpgaImageStateCode code)
The state.
|
void |
setCode(String code)
The state.
|
void |
setMessage(String message)
If the state is
failed , this is the error message. |
String |
toString()
Returns a string representation of this object.
|
FpgaImageState |
withCode(FpgaImageStateCode code)
The state.
|
FpgaImageState |
withCode(String code)
The state.
|
FpgaImageState |
withMessage(String message)
If the state is
failed , this is the error message. |
public void setCode(String code)
The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
code
- The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
FpgaImageStateCode
public String getCode()
The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
FpgaImageStateCode
public FpgaImageState withCode(String code)
The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
code
- The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
FpgaImageStateCode
public void setCode(FpgaImageStateCode code)
The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
code
- The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
FpgaImageStateCode
public FpgaImageState withCode(FpgaImageStateCode code)
The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
code
- The state. The following are the possible values:
pending
- AFI bitstream generation is in progress.
available
- The AFI is available for use.
failed
- AFI bitstream generation failed.
unavailable
- The AFI is no longer available for use.
FpgaImageStateCode
public void setMessage(String message)
If the state is failed
, this is the error message.
message
- If the state is failed
, this is the error message.public String getMessage()
If the state is failed
, this is the error message.
failed
, this is the error message.public FpgaImageState withMessage(String message)
If the state is failed
, this is the error message.
message
- If the state is failed
, this is the error message.public String toString()
toString
in class Object
Object.toString()
public FpgaImageState clone()