Class BucketRegistrationPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.BucketRegistrationPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class BucketRegistrationPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
Update bucket parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BucketRegistrationPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
asPatch()
Construct a JSON merge-patch from the BucketRegistrationPatch.BucketDetails
bucketDetails()
Gets the bucketDetails.java.lang.String
bucketDisplayName()
Gets the bucketDisplayName.java.lang.String
description()
Gets the description.BucketRegistrationPatch.Builder
newBuilder()
New builder.java.util.List<java.lang.String>
tags()
Gets the tags.
-
-
-
Method Detail
-
newBuilder
public BucketRegistrationPatch.Builder newBuilder()
New builder.- Returns:
- a BucketRegistrationPatch builder
-
bucketDetails
public BucketDetails bucketDetails()
Gets the bucketDetails. bucket details.- Returns:
- the bucketDetails
-
bucketDisplayName
public java.lang.String bucketDisplayName()
Gets the bucketDisplayName. bucket display name.- Returns:
- the bucketDisplayName
-
description
public java.lang.String description()
Gets the description. modified description.- Returns:
- the description
-
tags
public java.util.List<java.lang.String> tags()
Gets the tags. Tags.- Returns:
- the tags
-
asPatch
public java.util.Map<java.lang.String,java.lang.Object> asPatch()
Construct a JSON merge-patch from the BucketRegistrationPatch. Note that properties of the BucketRegistrationPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the BucketRegistrationPatch
-
-