public static final class UnmapExternalGroupByGroupIdResponse.Builder extends Object
UnmapExternalGroupByGroupIdResponse
.
Initialize attributes and then invoke the build()
method to create an
immutable instance.
Builder
is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
Modifier and Type | Method and Description |
---|---|
UnmapExternalGroupByGroupIdResponse.Builder |
addAllSchemas(Iterable<String> elements)
Adds elements to
schemas list. |
UnmapExternalGroupByGroupIdResponse |
build()
Builds a new
UnmapExternalGroupByGroupIdResponse . |
UnmapExternalGroupByGroupIdResponse.Builder |
displayName(String displayName)
Initializes the value for the
displayName attribute. |
UnmapExternalGroupByGroupIdResponse.Builder |
externalGroup(String externalGroup)
Initializes the value for the
externalGroup attribute. |
UnmapExternalGroupByGroupIdResponse.Builder |
from(org.cloudfoundry.uaa.groups.AbstractExternalGroupMapping instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.groups.AbstractExternalGroupMapping instance. |
UnmapExternalGroupByGroupIdResponse.Builder |
from(org.cloudfoundry.uaa.groups.AbstractExternalGroupResource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.uaa.groups.AbstractExternalGroupResource instance. |
UnmapExternalGroupByGroupIdResponse.Builder |
from(UnmapExternalGroupByGroupIdResponse instance)
Fill a builder with attribute values from the provided
UnmapExternalGroupByGroupIdResponse instance. |
UnmapExternalGroupByGroupIdResponse.Builder |
groupId(String groupId)
Initializes the value for the
groupId attribute. |
UnmapExternalGroupByGroupIdResponse.Builder |
metadata(Metadata metadata)
Initializes the value for the
metadata attribute. |
UnmapExternalGroupByGroupIdResponse.Builder |
origin(String origin)
Initializes the value for the
origin attribute. |
UnmapExternalGroupByGroupIdResponse.Builder |
schema(String... elements)
Adds elements to
schemas list. |
UnmapExternalGroupByGroupIdResponse.Builder |
schema(String element)
Adds one element to
schemas list. |
UnmapExternalGroupByGroupIdResponse.Builder |
schemas(Iterable<String> elements)
Sets or replaces all elements for
schemas list. |
public final UnmapExternalGroupByGroupIdResponse.Builder from(org.cloudfoundry.uaa.groups.AbstractExternalGroupResource instance)
org.cloudfoundry.uaa.groups.AbstractExternalGroupResource
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder from(org.cloudfoundry.uaa.groups.AbstractExternalGroupMapping instance)
org.cloudfoundry.uaa.groups.AbstractExternalGroupMapping
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder from(UnmapExternalGroupByGroupIdResponse instance)
UnmapExternalGroupByGroupIdResponse
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder metadata(Metadata metadata)
metadata
attribute.metadata
- The value for metadatathis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder schema(String element)
schemas
list.element
- A schemas elementthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder schema(String... elements)
schemas
list.elements
- An array of schemas elementsthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder schemas(Iterable<String> elements)
schemas
list.elements
- An iterable of schemas elementsthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder addAllSchemas(Iterable<String> elements)
schemas
list.elements
- An iterable of schemas elementsthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder displayName(String displayName)
displayName
attribute.displayName
- The value for displayNamethis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder externalGroup(String externalGroup)
externalGroup
attribute.externalGroup
- The value for externalGroupthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder groupId(String groupId)
groupId
attribute.groupId
- The value for groupIdthis
builder for use in a chained invocationpublic final UnmapExternalGroupByGroupIdResponse.Builder origin(String origin)
origin
attribute.origin
- The value for originthis
builder for use in a chained invocationpublic UnmapExternalGroupByGroupIdResponse build()
UnmapExternalGroupByGroupIdResponse
.IllegalStateException
- if any required attributes are missingCopyright © 2018 Pivotal Software, Inc.. All rights reserved.