@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageTestsConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configure image tests for your pipeline build. Tests run after building the image, to verify that the AMI or container image is valid before distributing it.
Constructor and Description |
---|
ImageTestsConfiguration() |
Modifier and Type | Method and Description |
---|---|
ImageTestsConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getImageTestsEnabled()
Determines if tests should run after building the image.
|
Integer |
getTimeoutMinutes()
The maximum time in minutes that tests are permitted to run.
|
int |
hashCode() |
Boolean |
isImageTestsEnabled()
Determines if tests should run after building the image.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImageTestsEnabled(Boolean imageTestsEnabled)
Determines if tests should run after building the image.
|
void |
setTimeoutMinutes(Integer timeoutMinutes)
The maximum time in minutes that tests are permitted to run.
|
String |
toString()
Returns a string representation of this object.
|
ImageTestsConfiguration |
withImageTestsEnabled(Boolean imageTestsEnabled)
Determines if tests should run after building the image.
|
ImageTestsConfiguration |
withTimeoutMinutes(Integer timeoutMinutes)
The maximum time in minutes that tests are permitted to run.
|
public void setImageTestsEnabled(Boolean imageTestsEnabled)
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
imageTestsEnabled
- Determines if tests should run after building the image. Image Builder defaults to enable tests to run
following the image build, before image distribution.public Boolean getImageTestsEnabled()
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
public ImageTestsConfiguration withImageTestsEnabled(Boolean imageTestsEnabled)
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
imageTestsEnabled
- Determines if tests should run after building the image. Image Builder defaults to enable tests to run
following the image build, before image distribution.public Boolean isImageTestsEnabled()
Determines if tests should run after building the image. Image Builder defaults to enable tests to run following the image build, before image distribution.
public void setTimeoutMinutes(Integer timeoutMinutes)
The maximum time in minutes that tests are permitted to run.
The timeoutMinutes attribute is not currently active. This value is ignored.
timeoutMinutes
- The maximum time in minutes that tests are permitted to run. The timeoutMinutes attribute is not currently active. This value is ignored.
public Integer getTimeoutMinutes()
The maximum time in minutes that tests are permitted to run.
The timeoutMinutes attribute is not currently active. This value is ignored.
The timeoutMinutes attribute is not currently active. This value is ignored.
public ImageTestsConfiguration withTimeoutMinutes(Integer timeoutMinutes)
The maximum time in minutes that tests are permitted to run.
The timeoutMinutes attribute is not currently active. This value is ignored.
timeoutMinutes
- The maximum time in minutes that tests are permitted to run. The timeoutMinutes attribute is not currently active. This value is ignored.
public String toString()
toString
in class Object
Object.toString()
public ImageTestsConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.