public static final class BindStagingSecurityGroupResponse.Builder extends Object
BindStagingSecurityGroupResponse.
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 |
|---|---|
BindStagingSecurityGroupResponse.Builder |
addAllBoundSpaces(Iterable<? extends Relationship> elements)
Adds elements to
boundSpaces list. |
BindStagingSecurityGroupResponse.Builder |
boundSpace(Relationship element)
Adds one element to
boundSpaces list. |
BindStagingSecurityGroupResponse.Builder |
boundSpaces(Iterable<? extends Relationship> elements)
Sets or replaces all elements for
boundSpaces list. |
BindStagingSecurityGroupResponse.Builder |
boundSpaces(Relationship... elements)
Adds elements to
boundSpaces list. |
BindStagingSecurityGroupResponse |
build()
Builds a new
BindStagingSecurityGroupResponse. |
BindStagingSecurityGroupResponse.Builder |
from(_BindStagingSecurityGroupResponse instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.securitygroups._BindStagingSecurityGroupResponse instance. |
BindStagingSecurityGroupResponse.Builder |
from(AbstractBindSecurityGroupResponse instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.securitygroups.AbstractBindSecurityGroupResponse instance. |
BindStagingSecurityGroupResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
BindStagingSecurityGroupResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
BindStagingSecurityGroupResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
BindStagingSecurityGroupResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
public final BindStagingSecurityGroupResponse.Builder from(AbstractBindSecurityGroupResponse instance)
org.cloudfoundry.client.v3.securitygroups.AbstractBindSecurityGroupResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder from(_BindStagingSecurityGroupResponse instance)
org.cloudfoundry.client.v3.securitygroups._BindStagingSecurityGroupResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder boundSpace(Relationship element)
boundSpaces list.element - A boundSpaces elementthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder boundSpaces(Relationship... elements)
boundSpaces list.elements - An array of boundSpaces elementsthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder boundSpaces(Iterable<? extends Relationship> elements)
boundSpaces list.elements - An iterable of boundSpaces elementsthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder addAllBoundSpaces(Iterable<? extends Relationship> elements)
boundSpaces list.elements - An iterable of boundSpaces elementsthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder link(String key, Link value)
links map.key - The key in the links mapvalue - The associated value in the links mapthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder link(Map.Entry<String,? extends Link> entry)
links map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder links(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic final BindStagingSecurityGroupResponse.Builder putAllLinks(Map<String,? extends Link> entries)
links map. Nulls are not permittedentries - The entries that will be added to the links mapthis builder for use in a chained invocationpublic BindStagingSecurityGroupResponse build()
BindStagingSecurityGroupResponse.IllegalStateException - if any required attributes are missingCopyright © 2024. All rights reserved.