public static final class GetAuditEventResponse.Builder extends Object
GetAuditEventResponse.
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 |
|---|---|
GetAuditEventResponse.Builder |
auditEventActor(AuditEventActor auditEventActor)
Initializes the value for the
auditEventActor attribute. |
GetAuditEventResponse.Builder |
auditEventTarget(AuditEventTarget auditEventTarget)
Initializes the value for the
auditEventTarget attribute. |
GetAuditEventResponse |
build()
Builds a new
GetAuditEventResponse. |
GetAuditEventResponse.Builder |
createdAt(String createdAt)
Initializes the value for the
createdAt attribute. |
GetAuditEventResponse.Builder |
data(Map.Entry<String,? extends Object> entry)
Put one entry to the
data map. |
GetAuditEventResponse.Builder |
data(Map<String,? extends Object> entries)
Sets or replaces all mappings from the specified map as entries for the
data map. |
GetAuditEventResponse.Builder |
data(String key,
Object value)
Put one entry to the
data map. |
GetAuditEventResponse.Builder |
from(org.cloudfoundry.client.v3.auditevents._GetAuditEventResponse instance)
Copy abstract value type
_GetAuditEventResponse instance into builder. |
GetAuditEventResponse.Builder |
from(AuditEvent instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.auditevents.AuditEvent instance. |
GetAuditEventResponse.Builder |
from(GetAuditEventResponse instance)
Fill a builder with attribute values from the provided
GetAuditEventResponse instance. |
GetAuditEventResponse.Builder |
from(Resource instance)
Fill a builder with attribute values from the provided
org.cloudfoundry.client.v3.Resource instance. |
GetAuditEventResponse.Builder |
id(String id)
Initializes the value for the
id attribute. |
GetAuditEventResponse.Builder |
link(Map.Entry<String,? extends Link> entry)
Put one entry to the
links map. |
GetAuditEventResponse.Builder |
link(String key,
Link value)
Put one entry to the
links map. |
GetAuditEventResponse.Builder |
links(Map<String,? extends Link> entries)
Sets or replaces all mappings from the specified map as entries for the
links map. |
GetAuditEventResponse.Builder |
organizationRelationship(Relationship organizationRelationship)
Initializes the value for the
organizationRelationship attribute. |
GetAuditEventResponse.Builder |
putAllData(Map<String,? extends Object> entries)
Put all mappings from the specified map as entries to
data map. |
GetAuditEventResponse.Builder |
putAllLinks(Map<String,? extends Link> entries)
Put all mappings from the specified map as entries to
links map. |
GetAuditEventResponse.Builder |
spaceRelationship(Relationship spaceRelationship)
Initializes the value for the
spaceRelationship attribute. |
GetAuditEventResponse.Builder |
type(String type)
Initializes the value for the
type attribute. |
GetAuditEventResponse.Builder |
updatedAt(String updatedAt)
Initializes the value for the
updatedAt attribute. |
public final GetAuditEventResponse.Builder from(AuditEvent instance)
org.cloudfoundry.client.v3.auditevents.AuditEvent instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder from(Resource instance)
org.cloudfoundry.client.v3.Resource instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder from(GetAuditEventResponse instance)
GetAuditEventResponse instance.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder from(org.cloudfoundry.client.v3.auditevents._GetAuditEventResponse instance)
_GetAuditEventResponse instance into builder.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder createdAt(String createdAt)
createdAt attribute.createdAt - The value for createdAtthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder id(String id)
id attribute.id - The value for idthis builder for use in a chained invocationpublic final GetAuditEventResponse.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 GetAuditEventResponse.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 GetAuditEventResponse.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 GetAuditEventResponse.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 final GetAuditEventResponse.Builder updatedAt(String updatedAt)
updatedAt attribute.updatedAt - The value for updatedAt (can be null)this builder for use in a chained invocationpublic final GetAuditEventResponse.Builder auditEventActor(AuditEventActor auditEventActor)
auditEventActor attribute.auditEventActor - The value for auditEventActor (can be null)this builder for use in a chained invocationpublic final GetAuditEventResponse.Builder auditEventTarget(AuditEventTarget auditEventTarget)
auditEventTarget attribute.auditEventTarget - The value for auditEventTarget (can be null)this builder for use in a chained invocationpublic final GetAuditEventResponse.Builder data(String key, Object value)
data map.key - The key in the data mapvalue - The associated value in the data mapthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder data(Map.Entry<String,? extends Object> entry)
data map. Nulls are not permittedentry - The key and value entrythis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder data(Map<String,? extends Object> entries)
data map. Nulls are not permitted as keys or values, but parameter itself can be nullentries - The entries that will be added to the data mapthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder putAllData(Map<String,? extends Object> entries)
data map. Nulls are not permittedentries - The entries that will be added to the data mapthis builder for use in a chained invocationpublic final GetAuditEventResponse.Builder organizationRelationship(Relationship organizationRelationship)
organizationRelationship attribute.organizationRelationship - The value for organizationRelationship (can be null)this builder for use in a chained invocationpublic final GetAuditEventResponse.Builder spaceRelationship(Relationship spaceRelationship)
spaceRelationship attribute.spaceRelationship - The value for spaceRelationship (can be null)this builder for use in a chained invocationpublic final GetAuditEventResponse.Builder type(String type)
type attribute.type - The value for type (can be null)this builder for use in a chained invocationpublic GetAuditEventResponse build()
GetAuditEventResponse.IllegalStateException - if any required attributes are missingCopyright © 2020. All rights reserved.