Class Meta.MetaBuilder
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.common.resources.complex.Meta.MetaBuilder
-
-
Constructor Summary
Constructors Constructor Description MetaBuilder(Meta meta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Meta
build()
returns the built meta-objectMeta.MetaBuilder
created(Instant created)
The "DateTime" that the resource was added to the service provider.Meta.MetaBuilder
created(LocalDateTime created)
The "DateTime" that the resource was added to the service provider.Meta.MetaBuilder
created(OffsetDateTime created)
The "DateTime" that the resource was added to the service provider.Meta.MetaBuilder
lastModified(Instant lastModified)
The most recent DateTime that the details of this resource were updated at the service provider.Meta.MetaBuilder
lastModified(LocalDateTime lastModified)
The most recent DateTime that the details of this resource were updated at the service provider.Meta.MetaBuilder
lastModified(OffsetDateTime lastModified)
The most recent DateTime that the details of this resource were updated at the service provider.Meta.MetaBuilder
location(String location)
The URI of the resource being returned.Meta.MetaBuilder
resourceType(String resourceType)
The name of the resource type of the resource.Meta.MetaBuilder
version(ETag version)
The version of the resource being returned.Meta.MetaBuilder
version(String version)
The version of the resource being returned.
-
-
-
Constructor Detail
-
MetaBuilder
public MetaBuilder(Meta meta)
-
-
Method Detail
-
created
public Meta.MetaBuilder created(Instant created)
The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
-
created
public Meta.MetaBuilder created(LocalDateTime created)
The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
-
created
public Meta.MetaBuilder created(OffsetDateTime created)
The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
-
lastModified
public Meta.MetaBuilder lastModified(Instant lastModified)
The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
-
lastModified
public Meta.MetaBuilder lastModified(LocalDateTime lastModified)
The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
-
lastModified
public Meta.MetaBuilder lastModified(OffsetDateTime lastModified)
The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
-
location
public Meta.MetaBuilder location(String location)
The URI of the resource being returned. This value MUST be the same as the "Content-Location" HTTP response header (see Section 3.1.4.2 of [RFC7231]).
-
resourceType
public Meta.MetaBuilder resourceType(String resourceType)
The name of the resource type of the resource. This attribute has a mutability of "readOnly" and "caseExact" as "true".
-
version
public Meta.MetaBuilder version(String version)
The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive).
-
version
public Meta.MetaBuilder version(ETag version)
The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive).
-
build
public Meta build()
returns the built meta-object
-
-