public class GbpExternalPolicyCreate extends Object implements ExternalPolicyCreate
Modifier and Type | Class and Description |
---|---|
static class |
GbpExternalPolicyCreate.ExternalPolicyConcreteBuilder |
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Constructor and Description |
---|
GbpExternalPolicyCreate() |
Modifier and Type | Method and Description |
---|---|
static ExternalPolicyBuilder |
builder() |
Map<String,String> |
getConsumedPolicyRuleSets()
Gets the consumed policy rule sets Ids
|
String |
getDescription()
Gets the description
|
List<String> |
getExternalSegments()
Gets the external segments associated with this external policy Ids
|
String |
getId() |
String |
getName() |
Map<String,String> |
getProvidedPolicyRuleSets()
Gets the provided policy rule sets Ids
|
String |
getTenantId() |
boolean |
isShared()
Is external policy shared
|
void |
setId(String id)
Sets the identifier for this resource.
|
void |
setName(String name)
Sets the name for this resource
|
void |
setTenantId(String tenantId)
Sets the tenant identifier
|
ExternalPolicyBuilder |
toBuilder() |
String |
toString() |
public String getTenantId()
getTenantId
in interface Resource
public void setTenantId(String tenantId)
setTenantId
in interface Resource
tenantId
- the tenant id to setpublic String getName()
getName
in interface BasicResource
public void setName(String name)
setName
in interface BasicResource
name
- the name to setpublic String getId()
public void setId(String id)
public Map<String,String> getConsumedPolicyRuleSets()
getConsumedPolicyRuleSets
in interface ExternalPolicyCreate
public Map<String,String> getProvidedPolicyRuleSets()
getProvidedPolicyRuleSets
in interface ExternalPolicyCreate
public List<String> getExternalSegments()
getExternalSegments
in interface ExternalPolicyCreate
public String getDescription()
getDescription
in interface ExternalPolicyCreate
public boolean isShared()
isShared
in interface ExternalPolicyCreate
public ExternalPolicyBuilder toBuilder()
toBuilder
in interface Buildable<ExternalPolicyBuilder>
public static ExternalPolicyBuilder builder()
Copyright © 2017. All rights reserved.