@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Network extends Object implements Serializable, Cloneable, StructuredPojo
Network configuration properties.
Constructor and Description |
---|
Network() |
Modifier and Type | Method and Description |
---|---|
Network |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date and time that the network was created.
|
String |
getDescription()
Attributes of the blockchain framework for the network.
|
String |
getFramework()
The blockchain framework that the network uses.
|
NetworkFrameworkAttributes |
getFrameworkAttributes()
Attributes of the blockchain framework that the network uses.
|
String |
getFrameworkVersion()
The version of the blockchain framework that the network uses.
|
String |
getId()
The unique identifier of the network.
|
String |
getName()
The name of the network.
|
String |
getStatus()
The current status of the network.
|
VotingPolicy |
getVotingPolicy()
The voting rules for the network to decide if a proposal is accepted.
|
String |
getVpcEndpointServiceName()
The VPC endpoint service name of the VPC endpoint service of the network.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
The date and time that the network was created.
|
void |
setDescription(String description)
Attributes of the blockchain framework for the network.
|
void |
setFramework(String framework)
The blockchain framework that the network uses.
|
void |
setFrameworkAttributes(NetworkFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework that the network uses.
|
void |
setFrameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
|
void |
setId(String id)
The unique identifier of the network.
|
void |
setName(String name)
The name of the network.
|
void |
setStatus(String status)
The current status of the network.
|
void |
setVotingPolicy(VotingPolicy votingPolicy)
The voting rules for the network to decide if a proposal is accepted.
|
void |
setVpcEndpointServiceName(String vpcEndpointServiceName)
The VPC endpoint service name of the VPC endpoint service of the network.
|
String |
toString()
Returns a string representation of this object.
|
Network |
withCreationDate(Date creationDate)
The date and time that the network was created.
|
Network |
withDescription(String description)
Attributes of the blockchain framework for the network.
|
Network |
withFramework(Framework framework)
The blockchain framework that the network uses.
|
Network |
withFramework(String framework)
The blockchain framework that the network uses.
|
Network |
withFrameworkAttributes(NetworkFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework that the network uses.
|
Network |
withFrameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
|
Network |
withId(String id)
The unique identifier of the network.
|
Network |
withName(String name)
The name of the network.
|
Network |
withStatus(NetworkStatus status)
The current status of the network.
|
Network |
withStatus(String status)
The current status of the network.
|
Network |
withVotingPolicy(VotingPolicy votingPolicy)
The voting rules for the network to decide if a proposal is accepted.
|
Network |
withVpcEndpointServiceName(String vpcEndpointServiceName)
The VPC endpoint service name of the VPC endpoint service of the network.
|
public void setId(String id)
The unique identifier of the network.
id
- The unique identifier of the network.public String getId()
The unique identifier of the network.
public Network withId(String id)
The unique identifier of the network.
id
- The unique identifier of the network.public void setName(String name)
The name of the network.
name
- The name of the network.public String getName()
The name of the network.
public Network withName(String name)
The name of the network.
name
- The name of the network.public void setDescription(String description)
Attributes of the blockchain framework for the network.
description
- Attributes of the blockchain framework for the network.public String getDescription()
Attributes of the blockchain framework for the network.
public Network withDescription(String description)
Attributes of the blockchain framework for the network.
description
- Attributes of the blockchain framework for the network.public void setFramework(String framework)
The blockchain framework that the network uses.
framework
- The blockchain framework that the network uses.Framework
public String getFramework()
The blockchain framework that the network uses.
Framework
public Network withFramework(String framework)
The blockchain framework that the network uses.
framework
- The blockchain framework that the network uses.Framework
public Network withFramework(Framework framework)
The blockchain framework that the network uses.
framework
- The blockchain framework that the network uses.Framework
public void setFrameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
frameworkVersion
- The version of the blockchain framework that the network uses.public String getFrameworkVersion()
The version of the blockchain framework that the network uses.
public Network withFrameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
frameworkVersion
- The version of the blockchain framework that the network uses.public void setFrameworkAttributes(NetworkFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework that the network uses.
frameworkAttributes
- Attributes of the blockchain framework that the network uses.public NetworkFrameworkAttributes getFrameworkAttributes()
Attributes of the blockchain framework that the network uses.
public Network withFrameworkAttributes(NetworkFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework that the network uses.
frameworkAttributes
- Attributes of the blockchain framework that the network uses.public void setVpcEndpointServiceName(String vpcEndpointServiceName)
The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
vpcEndpointServiceName
- The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint
service name to create a VPC endpoint to access network resources.public String getVpcEndpointServiceName()
The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
public Network withVpcEndpointServiceName(String vpcEndpointServiceName)
The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.
vpcEndpointServiceName
- The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint
service name to create a VPC endpoint to access network resources.public void setVotingPolicy(VotingPolicy votingPolicy)
The voting rules for the network to decide if a proposal is accepted.
votingPolicy
- The voting rules for the network to decide if a proposal is accepted.public VotingPolicy getVotingPolicy()
The voting rules for the network to decide if a proposal is accepted.
public Network withVotingPolicy(VotingPolicy votingPolicy)
The voting rules for the network to decide if a proposal is accepted.
votingPolicy
- The voting rules for the network to decide if a proposal is accepted.public void setStatus(String status)
The current status of the network.
status
- The current status of the network.NetworkStatus
public String getStatus()
The current status of the network.
NetworkStatus
public Network withStatus(String status)
The current status of the network.
status
- The current status of the network.NetworkStatus
public Network withStatus(NetworkStatus status)
The current status of the network.
status
- The current status of the network.NetworkStatus
public void setCreationDate(Date creationDate)
The date and time that the network was created.
creationDate
- The date and time that the network was created.public Date getCreationDate()
The date and time that the network was created.
public Network withCreationDate(Date creationDate)
The date and time that the network was created.
creationDate
- The date and time that the network was created.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.