Class UploadArtifactOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.UploadArtifactOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UploadArtifactOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe uploadArtifact options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUploadArtifactOptions.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringaccount()Gets the account.java.io.InputStreamartifact()Gets the artifact.java.lang.StringartifactId()Gets the artifactId.java.lang.StringcontentType()Gets the contentType.UploadArtifactOptions.BuildernewBuilder()New builder.java.lang.StringobjectId()Gets the objectId.
-
-
-
Method Detail
-
newBuilder
public UploadArtifactOptions.Builder newBuilder()
New builder.- Returns:
- a UploadArtifactOptions builder
-
objectId
public java.lang.String objectId()
Gets the objectId. The object's unique ID.- Returns:
- the objectId
-
artifactId
public java.lang.String artifactId()
Gets the artifactId. The artifact's ID.- Returns:
- the artifactId
-
artifact
public java.io.InputStream artifact()
Gets the artifact.- Returns:
- the artifact
-
contentType
public java.lang.String contentType()
Gets the contentType. The type of the input.- Returns:
- the contentType
-
account
public java.lang.String account()
Gets the account. This changes the scope of the request regardless of the authorization header. Example scopes are `account` and `global`. `account=global` is reqired if operating with a service ID that has a global admin policy, for example `GET /?account=global`.- Returns:
- the account
-
-