@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalNetwork extends Object implements Serializable, Cloneable, StructuredPojo
Describes a global network. This is a single private network acting as a high-level container for your network objects, including an Amazon Web Services-managed Core Network.
Constructor and Description |
---|
GlobalNetwork() |
Modifier and Type | Method and Description |
---|---|
GlobalNetwork |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time that the global network was created.
|
String |
getDescription()
The description of the global network.
|
String |
getGlobalNetworkArn()
The Amazon Resource Name (ARN) of the global network.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getState()
The state of the global network.
|
List<Tag> |
getTags()
The tags for the global network.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time that the global network was created.
|
void |
setDescription(String description)
The description of the global network.
|
void |
setGlobalNetworkArn(String globalNetworkArn)
The Amazon Resource Name (ARN) of the global network.
|
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setState(String state)
The state of the global network.
|
void |
setTags(Collection<Tag> tags)
The tags for the global network.
|
String |
toString()
Returns a string representation of this object.
|
GlobalNetwork |
withCreatedAt(Date createdAt)
The date and time that the global network was created.
|
GlobalNetwork |
withDescription(String description)
The description of the global network.
|
GlobalNetwork |
withGlobalNetworkArn(String globalNetworkArn)
The Amazon Resource Name (ARN) of the global network.
|
GlobalNetwork |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
GlobalNetwork |
withState(GlobalNetworkState state)
The state of the global network.
|
GlobalNetwork |
withState(String state)
The state of the global network.
|
GlobalNetwork |
withTags(Collection<Tag> tags)
The tags for the global network.
|
GlobalNetwork |
withTags(Tag... tags)
The tags for the global network.
|
public void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public GlobalNetwork withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public void setGlobalNetworkArn(String globalNetworkArn)
The Amazon Resource Name (ARN) of the global network.
globalNetworkArn
- The Amazon Resource Name (ARN) of the global network.public String getGlobalNetworkArn()
The Amazon Resource Name (ARN) of the global network.
public GlobalNetwork withGlobalNetworkArn(String globalNetworkArn)
The Amazon Resource Name (ARN) of the global network.
globalNetworkArn
- The Amazon Resource Name (ARN) of the global network.public void setDescription(String description)
The description of the global network.
description
- The description of the global network.public String getDescription()
The description of the global network.
public GlobalNetwork withDescription(String description)
The description of the global network.
description
- The description of the global network.public void setCreatedAt(Date createdAt)
The date and time that the global network was created.
createdAt
- The date and time that the global network was created.public Date getCreatedAt()
The date and time that the global network was created.
public GlobalNetwork withCreatedAt(Date createdAt)
The date and time that the global network was created.
createdAt
- The date and time that the global network was created.public void setState(String state)
The state of the global network.
state
- The state of the global network.GlobalNetworkState
public String getState()
The state of the global network.
GlobalNetworkState
public GlobalNetwork withState(String state)
The state of the global network.
state
- The state of the global network.GlobalNetworkState
public GlobalNetwork withState(GlobalNetworkState state)
The state of the global network.
state
- The state of the global network.GlobalNetworkState
public List<Tag> getTags()
The tags for the global network.
public void setTags(Collection<Tag> tags)
The tags for the global network.
tags
- The tags for the global network.public GlobalNetwork withTags(Tag... tags)
The tags for the global network.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the global network.public GlobalNetwork withTags(Collection<Tag> tags)
The tags for the global network.
tags
- The tags for the global network.public String toString()
toString
in class Object
Object.toString()
public GlobalNetwork clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.