@Generated(value="software.amazon.awssdk:codegen") public final class InfrastructureConfigurationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InfrastructureConfigurationSummary.Builder,InfrastructureConfigurationSummary>
The infrastructure used when building EC2 AMIs.
Modifier and Type | Class and Description |
---|---|
static interface |
InfrastructureConfigurationSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the infrastructure configuration.
|
static InfrastructureConfigurationSummary.Builder |
builder() |
String |
dateCreated()
The date on which the infrastructure configuration was created.
|
String |
dateUpdated()
The date on which the infrastructure configuration was last updated.
|
String |
description()
The description of the infrastructure configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInstanceTypes()
Returns true if the InstanceTypes property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasResourceTags()
Returns true if the ResourceTags property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
instanceProfileName()
The instance profile of the infrastructure configuration.
|
List<String> |
instanceTypes()
The instance types of the infrastructure configuration.
|
String |
name()
The name of the infrastructure configuration.
|
Map<String,String> |
resourceTags()
The tags attached to the image created by Image Builder.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InfrastructureConfigurationSummary.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tags of the infrastructure configuration.
|
InfrastructureConfigurationSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String arn()
The Amazon Resource Name (ARN) of the infrastructure configuration.
public final String name()
The name of the infrastructure configuration.
public final String description()
The description of the infrastructure configuration.
public final String dateCreated()
The date on which the infrastructure configuration was created.
public final String dateUpdated()
The date on which the infrastructure configuration was last updated.
public final boolean hasResourceTags()
public final Map<String,String> resourceTags()
The tags attached to the image created by Image Builder.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasResourceTags()
to see if a value was sent in this field.
public final boolean hasTags()
public final Map<String,String> tags()
The tags of the infrastructure configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public final boolean hasInstanceTypes()
public final List<String> instanceTypes()
The instance types of the infrastructure configuration.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstanceTypes()
to see if a value was sent in this field.
public final String instanceProfileName()
The instance profile of the infrastructure configuration.
public InfrastructureConfigurationSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InfrastructureConfigurationSummary.Builder,InfrastructureConfigurationSummary>
public static InfrastructureConfigurationSummary.Builder builder()
public static Class<? extends InfrastructureConfigurationSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()