public static class NeutronSecurityGroup.SecurityGroupConcreteBuilder extends Object implements NetSecurityGroupBuilder
Constructor and Description |
---|
SecurityGroupConcreteBuilder()
Instantiates a new security group rule concrete builder.
|
SecurityGroupConcreteBuilder(SecurityGroup in)
Instantiates a new security group rule concrete builder.
|
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
build()
Creates and return the Model Entity M
|
NetSecurityGroupBuilder |
description(String description) |
NetSecurityGroupBuilder |
from(SecurityGroup in)
Creates a Builder using the param M as the default values
|
NetSecurityGroupBuilder |
id(String id) |
NetSecurityGroupBuilder |
name(String name) |
NetSecurityGroupBuilder |
tenantId(String tenantId) |
public SecurityGroupConcreteBuilder()
public SecurityGroupConcreteBuilder(SecurityGroup in)
rule
- the rulepublic SecurityGroup build()
build
in interface Buildable.Builder<NetSecurityGroupBuilder,SecurityGroup>
public NetSecurityGroupBuilder from(SecurityGroup in)
from
in interface Buildable.Builder<NetSecurityGroupBuilder,SecurityGroup>
public NetSecurityGroupBuilder name(String name)
name
in interface NetSecurityGroupBuilder
BasicResource.getName()
public NetSecurityGroupBuilder description(String description)
description
in interface NetSecurityGroupBuilder
SecurityGroup.getDescription()
public NetSecurityGroupBuilder id(String id)
id
in interface NetSecurityGroupBuilder
IdEntity.getId()
public NetSecurityGroupBuilder tenantId(String tenantId)
tenantId
in interface NetSecurityGroupBuilder
Resource.getTenantId()
Copyright © 2017. All rights reserved.