@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNetworkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateNetworkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateNetworkRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateNetworkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
String |
getDescription()
An optional description for the network.
|
String |
getFramework()
The blockchain framework that the network uses.
|
NetworkFrameworkConfiguration |
getFrameworkConfiguration()
Configuration properties of the blockchain framework relevant to the network configuration.
|
String |
getFrameworkVersion()
The version of the blockchain framework that the network uses.
|
MemberConfiguration |
getMemberConfiguration()
Configuration properties for the first member within the network.
|
String |
getName()
The name of the network.
|
Map<String,String> |
getTags()
Tags to assign to the network.
|
VotingPolicy |
getVotingPolicy()
The voting rules used by the network to determine if a proposal is approved.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
void |
setDescription(String description)
An optional description for the network.
|
void |
setFramework(String framework)
The blockchain framework that the network uses.
|
void |
setFrameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
|
void |
setFrameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
|
void |
setMemberConfiguration(MemberConfiguration memberConfiguration)
Configuration properties for the first member within the network.
|
void |
setName(String name)
The name of the network.
|
void |
setTags(Map<String,String> tags)
Tags to assign to the network.
|
void |
setVotingPolicy(VotingPolicy votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
|
String |
toString()
Returns a string representation of this object.
|
CreateNetworkRequest |
withClientRequestToken(String clientRequestToken)
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
|
CreateNetworkRequest |
withDescription(String description)
An optional description for the network.
|
CreateNetworkRequest |
withFramework(Framework framework)
The blockchain framework that the network uses.
|
CreateNetworkRequest |
withFramework(String framework)
The blockchain framework that the network uses.
|
CreateNetworkRequest |
withFrameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
|
CreateNetworkRequest |
withFrameworkVersion(String frameworkVersion)
The version of the blockchain framework that the network uses.
|
CreateNetworkRequest |
withMemberConfiguration(MemberConfiguration memberConfiguration)
Configuration properties for the first member within the network.
|
CreateNetworkRequest |
withName(String name)
The name of the network.
|
CreateNetworkRequest |
withTags(Map<String,String> tags)
Tags to assign to the network.
|
CreateNetworkRequest |
withVotingPolicy(VotingPolicy votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientRequestToken(String clientRequestToken)
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
clientRequestToken
- This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
An idempotent operation completes no more than once. This identifier is required only if you make a
service request directly using an HTTP client. It is generated automatically if you use an Amazon Web
Services SDK or the Amazon Web Services CLI.public String getClientRequestToken()
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
public CreateNetworkRequest withClientRequestToken(String clientRequestToken)
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
clientRequestToken
- This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
An idempotent operation completes no more than once. This identifier is required only if you make a
service request directly using an HTTP client. It is generated automatically if you use an Amazon Web
Services SDK or the Amazon Web Services CLI.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 CreateNetworkRequest withName(String name)
The name of the network.
name
- The name of the network.public void setDescription(String description)
An optional description for the network.
description
- An optional description for the network.public String getDescription()
An optional description for the network.
public CreateNetworkRequest withDescription(String description)
An optional description for the network.
description
- An optional description 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 CreateNetworkRequest withFramework(String framework)
The blockchain framework that the network uses.
framework
- The blockchain framework that the network uses.Framework
public CreateNetworkRequest 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 CreateNetworkRequest 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 setFrameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the network configuration.public NetworkFrameworkConfiguration getFrameworkConfiguration()
Configuration properties of the blockchain framework relevant to the network configuration.
public CreateNetworkRequest withFrameworkConfiguration(NetworkFrameworkConfiguration frameworkConfiguration)
Configuration properties of the blockchain framework relevant to the network configuration.
frameworkConfiguration
- Configuration properties of the blockchain framework relevant to the network configuration.public void setVotingPolicy(VotingPolicy votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
votingPolicy
- The voting rules used by the network to determine if a proposal is approved.public VotingPolicy getVotingPolicy()
The voting rules used by the network to determine if a proposal is approved.
public CreateNetworkRequest withVotingPolicy(VotingPolicy votingPolicy)
The voting rules used by the network to determine if a proposal is approved.
votingPolicy
- The voting rules used by the network to determine if a proposal is approved.public void setMemberConfiguration(MemberConfiguration memberConfiguration)
Configuration properties for the first member within the network.
memberConfiguration
- Configuration properties for the first member within the network.public MemberConfiguration getMemberConfiguration()
Configuration properties for the first member within the network.
public CreateNetworkRequest withMemberConfiguration(MemberConfiguration memberConfiguration)
Configuration properties for the first member within the network.
memberConfiguration
- Configuration properties for the first member within the network.public Map<String,String> getTags()
Tags to assign to the network.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
public void setTags(Map<String,String> tags)
Tags to assign to the network.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
tags
- Tags to assign to the network.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
public CreateNetworkRequest withTags(Map<String,String> tags)
Tags to assign to the network.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
tags
- Tags to assign to the network.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
public CreateNetworkRequest addTagsEntry(String key, String value)
public CreateNetworkRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateNetworkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()