@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnvironmentSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary information for environments as a response to ListEnvironments
.
Constructor and Description |
---|
EnvironmentSummary() |
Modifier and Type | Method and Description |
---|---|
EnvironmentSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
EnvironmentSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
EnvironmentSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the environment.
|
Date |
getCreatedTime()
A timestamp that indicates when the environment is created.
|
String |
getDescription()
A description of the environment.
|
String |
getEnvironmentId()
The unique identifier of the environment.
|
ErrorResponse |
getError()
Any error associated with the environment resource.
|
Date |
getLastUpdatedTime()
A timestamp that indicates when the environment was last updated.
|
String |
getName()
The name of the environment.
|
String |
getNetworkFabricType()
The network fabric type of the environment.
|
String |
getOwnerAccountId()
The Amazon Web Services account ID of the environment owner.
|
String |
getState()
The current state of the environment.
|
Map<String,String> |
getTags()
The tags assigned to the environment.
|
String |
getTransitGatewayId()
The ID of the Transit Gateway set up by the environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
void |
setCreatedTime(Date createdTime)
A timestamp that indicates when the environment is created.
|
void |
setDescription(String description)
A description of the environment.
|
void |
setEnvironmentId(String environmentId)
The unique identifier of the environment.
|
void |
setError(ErrorResponse error)
Any error associated with the environment resource.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
|
void |
setName(String name)
The name of the environment.
|
void |
setNetworkFabricType(String networkFabricType)
The network fabric type of the environment.
|
void |
setOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
|
void |
setState(String state)
The current state of the environment.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the environment.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of the Transit Gateway set up by the environment.
|
String |
toString()
Returns a string representation of this object.
|
EnvironmentSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
|
EnvironmentSummary |
withCreatedTime(Date createdTime)
A timestamp that indicates when the environment is created.
|
EnvironmentSummary |
withDescription(String description)
A description of the environment.
|
EnvironmentSummary |
withEnvironmentId(String environmentId)
The unique identifier of the environment.
|
EnvironmentSummary |
withError(ErrorResponse error)
Any error associated with the environment resource.
|
EnvironmentSummary |
withLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
|
EnvironmentSummary |
withName(String name)
The name of the environment.
|
EnvironmentSummary |
withNetworkFabricType(NetworkFabricType networkFabricType)
The network fabric type of the environment.
|
EnvironmentSummary |
withNetworkFabricType(String networkFabricType)
The network fabric type of the environment.
|
EnvironmentSummary |
withOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
|
EnvironmentSummary |
withState(EnvironmentState state)
The current state of the environment.
|
EnvironmentSummary |
withState(String state)
The current state of the environment.
|
EnvironmentSummary |
withTags(Map<String,String> tags)
The tags assigned to the environment.
|
EnvironmentSummary |
withTransitGatewayId(String transitGatewayId)
The ID of the Transit Gateway set up by the environment.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public String getArn()
The Amazon Resource Name (ARN) of the environment.
public EnvironmentSummary withArn(String arn)
The Amazon Resource Name (ARN) of the environment.
arn
- The Amazon Resource Name (ARN) of the environment.public void setCreatedTime(Date createdTime)
A timestamp that indicates when the environment is created.
createdTime
- A timestamp that indicates when the environment is created.public Date getCreatedTime()
A timestamp that indicates when the environment is created.
public EnvironmentSummary withCreatedTime(Date createdTime)
A timestamp that indicates when the environment is created.
createdTime
- A timestamp that indicates when the environment is created.public void setDescription(String description)
A description of the environment.
description
- A description of the environment.public String getDescription()
A description of the environment.
public EnvironmentSummary withDescription(String description)
A description of the environment.
description
- A description of the environment.public void setEnvironmentId(String environmentId)
The unique identifier of the environment.
environmentId
- The unique identifier of the environment.public String getEnvironmentId()
The unique identifier of the environment.
public EnvironmentSummary withEnvironmentId(String environmentId)
The unique identifier of the environment.
environmentId
- The unique identifier of the environment.public void setError(ErrorResponse error)
Any error associated with the environment resource.
error
- Any error associated with the environment resource.public ErrorResponse getError()
Any error associated with the environment resource.
public EnvironmentSummary withError(ErrorResponse error)
Any error associated with the environment resource.
error
- Any error associated with the environment resource.public void setLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
lastUpdatedTime
- A timestamp that indicates when the environment was last updated.public Date getLastUpdatedTime()
A timestamp that indicates when the environment was last updated.
public EnvironmentSummary withLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the environment was last updated.
lastUpdatedTime
- A timestamp that indicates when the environment was last updated.public void setName(String name)
The name of the environment.
name
- The name of the environment.public String getName()
The name of the environment.
public EnvironmentSummary withName(String name)
The name of the environment.
name
- The name of the environment.public void setNetworkFabricType(String networkFabricType)
The network fabric type of the environment.
networkFabricType
- The network fabric type of the environment.NetworkFabricType
public String getNetworkFabricType()
The network fabric type of the environment.
NetworkFabricType
public EnvironmentSummary withNetworkFabricType(String networkFabricType)
The network fabric type of the environment.
networkFabricType
- The network fabric type of the environment.NetworkFabricType
public EnvironmentSummary withNetworkFabricType(NetworkFabricType networkFabricType)
The network fabric type of the environment.
networkFabricType
- The network fabric type of the environment.NetworkFabricType
public void setOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
ownerAccountId
- The Amazon Web Services account ID of the environment owner.public String getOwnerAccountId()
The Amazon Web Services account ID of the environment owner.
public EnvironmentSummary withOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the environment owner.
ownerAccountId
- The Amazon Web Services account ID of the environment owner.public void setState(String state)
The current state of the environment.
state
- The current state of the environment.EnvironmentState
public String getState()
The current state of the environment.
EnvironmentState
public EnvironmentSummary withState(String state)
The current state of the environment.
state
- The current state of the environment.EnvironmentState
public EnvironmentSummary withState(EnvironmentState state)
The current state of the environment.
state
- The current state of the environment.EnvironmentState
public Map<String,String> getTags()
The tags assigned to the environment.
public void setTags(Map<String,String> tags)
The tags assigned to the environment.
tags
- The tags assigned to the environment.public EnvironmentSummary withTags(Map<String,String> tags)
The tags assigned to the environment.
tags
- The tags assigned to the environment.public EnvironmentSummary addTagsEntry(String key, String value)
public EnvironmentSummary clearTagsEntries()
public void setTransitGatewayId(String transitGatewayId)
The ID of the Transit Gateway set up by the environment.
transitGatewayId
- The ID of the Transit Gateway set up by the environment.public String getTransitGatewayId()
The ID of the Transit Gateway set up by the environment.
public EnvironmentSummary withTransitGatewayId(String transitGatewayId)
The ID of the Transit Gateway set up by the environment.
transitGatewayId
- The ID of the Transit Gateway set up by the environment.public String toString()
toString
in class Object
Object.toString()
public EnvironmentSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.