Package com.oracle.bmc.marketplace.model
Class Agreement.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplace.model.Agreement.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Agreement.Builderauthor(Agreement.Author author)Who authored the agreement.Agreementbuild()Agreement.BuildercompartmentId(String compartmentId)The unique identifier for the compartment.Agreement.BuildercontentUrl(String contentUrl)The content URL of the agreement.Agreement.Buildercopy(Agreement model)Agreement.Builderid(String id)The unique identifier for the agreement.Agreement.Builderprompt(String prompt)Textual prompt to read and accept the agreement.Agreement.Buildersignature(String signature)A time-based signature that can be used to accept an agreement or remove a previously accepted agreement from the list that Marketplace checks before a deployment.
-
-
-
Method Detail
-
id
public Agreement.Builder id(String id)
The unique identifier for the agreement.- Parameters:
id- the value to set- Returns:
- this builder
-
contentUrl
public Agreement.Builder contentUrl(String contentUrl)
The content URL of the agreement.- Parameters:
contentUrl- the value to set- Returns:
- this builder
-
signature
public Agreement.Builder signature(String signature)
A time-based signature that can be used to accept an agreement or remove a previously accepted agreement from the list that Marketplace checks before a deployment.- Parameters:
signature- the value to set- Returns:
- this builder
-
compartmentId
public Agreement.Builder compartmentId(String compartmentId)
The unique identifier for the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
author
public Agreement.Builder author(Agreement.Author author)
Who authored the agreement.- Parameters:
author- the value to set- Returns:
- this builder
-
prompt
public Agreement.Builder prompt(String prompt)
Textual prompt to read and accept the agreement.- Parameters:
prompt- the value to set- Returns:
- this builder
-
build
public Agreement build()
-
copy
public Agreement.Builder copy(Agreement model)
-
-